FailedChanges

Summary

  1. Use llvm::is_contained where appropriate (NFC) (details)
  2. Outline non returning functions unless a longjmp (details)
  3. [HotColdSplit] Add test case for unlikely attribute in outlined function (details)
  4. [X86] Add parity test cases for PR46954. (details)
  5. [X86] Improve parity idiom recognition to handle (and (truncate (ctpop X)), 1). (details)
  6. [CMake] Pass bugreport URL to standalone clang build (details)
Commit 60434989e5cd718e0f84c7601f648aecd1e8e1eb by kazu
Use llvm::is_contained where appropriate (NFC)

Use llvm::is_contained where appropriate (NFC)

Reviewed By: kazu

Differential Revision: https://reviews.llvm.org/D85083
The file was modifiedllvm/lib/Target/PowerPC/PPCLowerMASSVEntries.cpp
The file was modifiedllvm/unittests/Support/TargetParserTest.cpp
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedllvm/tools/dsymutil/dsymutil.cpp
The file was modifiedllvm/lib/Support/Unix/Signals.inc
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.h
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was modifiedllvm/include/llvm/IR/PassManager.h
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
Commit 20797989ea190f2ef22d13c5a7a0535fe9afa58b by 1894981+hiraditya
Outline non returning functions unless a longjmp

__assert_fail, abort, exit etc. are cold.
TODO: outline throw

Authored by: rjf (Ruijie Fang)
Reviewed by: hiraditya,tejohnson,fhahn

Differential Revision: https://reviews.llvm.org/D69257
The file was addedllvm/test/Transforms/HotColdSplit/longjmp-nosplit.ll
The file was addedllvm/test/Transforms/HotColdSplit/sjlj-split.ll
The file was addedllvm/test/Transforms/HotColdSplit/sjlj-nosplit.ll
The file was addedllvm/test/Transforms/HotColdSplit/split-assert-fail.ll
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp
The file was addedllvm/test/Transforms/HotColdSplit/longjmp-split.ll
Commit aa1f905890fbbfedf396530f1e14409875ece13c by 1894981+hiraditya
[HotColdSplit] Add test case for unlikely attribute in outlined function

Authored by: rjf (Ruijie Fang)
Reviewed by: hiraditya,tejohnson,fhahn

Differential Revision: https://reviews.llvm.org/D69384
The file was modifiedllvm/test/Transforms/HotColdSplit/coldentrycount.ll
Commit f89d59a0853f90c54dea60500831d02901623223 by craig.topper
[X86] Add parity test cases for PR46954.

This adds tests cases where the parity idiom of (and (ctpop X, 1))
has a truncate in the middle.
The file was modifiedllvm/test/CodeGen/X86/parity.ll
Commit 56166a3a5229722e442e7dfd861b6d83ebf6c8b5 by craig.topper
[X86] Improve parity idiom recognition to handle (and (truncate (ctpop X)), 1).

Fixes part of PR46954
The file was modifiedllvm/test/CodeGen/X86/parity.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 21c165de2a1bcca9dceb452f637d9e8959fba113 by mgorny
[CMake] Pass bugreport URL to standalone clang build

BUG_REPORT_URL is currently used both in LLVM and in Clang but declared
only in the latter.  This means that it's missing in standalone clang
builds and the driver ends up outputting:

  PLEASE submit a bug report to  and include [...]

(note the missing URL)

To fix this, include LLVM_PACKAGE_BUGREPORT in LLVMConfig.cmake
(similarly to how we pass PACKAGE_VERSION) and use it to fill
BUG_REPORT_URL when building clang standalone.

Differential Revision: https://reviews.llvm.org/D84987
The file was modifiedclang/CMakeLists.txt
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in