SuccessChanges

Summary

  1. [Attributor] Do not manifest noundef for dead positions (details)
  2. [Driver][XRay][test] Update the macOS support check (details)
  3. [OPENMP]Do not crash for globals in inner regions with outer target (details)
  4. [SSP] Restore setting the visibility of __guard_local to hidden for better code generation. (details)
  5. Revert "[CodeGen][AArch64] Support arm_sve_vector_bits attribute" (details)
  6. [ValueTracking] Replace recursion with Worklist (details)
Commit 50ebd1afa9d7271edae3b2faa607f400fe56c9e6 by okuraofvegetable
[Attributor] Do not manifest noundef for dead positions

Even if noundef is deduced for a position, we should not manifest it when the position is dead.
This is because the associated values with dead positions are replaced with undef values by AAIsDead.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D86565
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/inalloca.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/misc_crash.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/noundef.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll (diff)
The file was modifiedllvm/lib/Transforms/IPO/AttributorAttributes.cpp (diff)
Commit d22985c410873872a96ad3f53170df57c62aac9e by Azharuddin Mohammed
[Driver][XRay][test] Update the macOS support check

For macOS, the code says, the XRay flag is only supported on x86_64.
Updating the test and making that check explicit.

Differential Revision: https://reviews.llvm.org/D85773
The file was modifiedclang/test/Driver/XRay/xray-instrument-os.c (diff)
Commit ba1de5f2f7b078f69d5f6b0fe3af4911f76bb8fd by a.bataev
[OPENMP]Do not crash for globals in inner regions with outer target
region.

If the global variable is used in the target region,it is always
captured, if not marked as declare target.
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp (diff)
The file was modifiedclang/test/OpenMP/target_codegen.cpp (diff)
Commit d870e363263835bec96c83f51b20e64722cad742 by brad
[SSP] Restore setting the visibility of __guard_local to hidden for better code generation.

Patch by: Philip Guenther
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp (diff)
Commit 2e7041fdc223aae90eac294cda4fb3b0be8eeb34 by cullen.rhodes
Revert "[CodeGen][AArch64] Support arm_sve_vector_bits attribute"

Test CodeGen/attr-arm-sve-vector-bits-call.c is failing on some builders
[1][2]. Reverting whilst I investigate.

[1] http://lab.llvm.org:8011/builders/fuchsia-x86_64-linux/builds/10375
[2] https://luci-milo.appspot.com/p/fuchsia/builders/ci/clang-linux-x64/b8870800848452818112

This reverts commit 42587345a3afc52c03c6e6095db773358a1b03e9.
The file was removedclang/test/CodeGen/attr-arm-sve-vector-bits-types.c
The file was removedclang/test/CodeGenCXX/aarch64-mangle-sve-fixed-vectors.cpp
The file was removedclang/test/CodeGenCXX/aarch64-sve-fixedtypeinfo.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp (diff)
The file was removedclang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c
The file was removedclang/test/CodeGen/attr-arm-sve-vector-bits-cast.c
The file was removedclang/test/CodeGen/attr-arm-sve-vector-bits-call.c
The file was removedclang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGCall.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp (diff)
The file was removedclang/test/CodeGen/attr-arm-sve-vector-bits-codegen.c
Commit 23524fdecef990dffc619d3463b1977cfb946136 by Vitaly Buka
[ValueTracking] Replace recursion with Worklist

Now findAllocaForValue can handle nontrivial phi cycles.
The file was modifiedllvm/unittests/Analysis/ValueTrackingTest.cpp (diff)
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)