SuccessChanges

Summary

  1. ELFObjectWriter: Simplify (details)
  2. [Clang] Ensure vector predication loop metadata is always emitted when pragma is specified. (details)
  3. [LTT] Address post-review comments (NFC) (details)
  4. [lld] Reorder cases in test to match comments (NFC) (details)
  5. [gold] Add case being tested by equivalent lld test (details)
Commit 53187f1eeccb22ab6ef3f5ba5acfbe0ebeed1dbd by i
ELFObjectWriter: Simplify

* Delete unused ELFSymbolData::operator<
* Inline createStringTable
* Fix a comment
* Change align to return uint64_t
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
Commit 74ddacd30de54e19b28218bc8563bd0f34f32cad by llvm-project
[Clang] Ensure vector predication loop metadata is always emitted when pragma is specified.

This patch ensures that vector predication and vectorization width
pragmas work together correctly/as expected. Specifically, this patch
fixes the issue that when vectorization_width > 1, the vector
predication behaviour (this would matter if it has NOT been disabled
explicitly by a pragma) was getting ignored, which was incorrect.

The fix here removes the dependence of vector predication on the
vectorization width. The loop metadata corresponding to clang loop
pragma vectorize_predicate is always emitted, if the pragma is
specified, even if vectorization is disabled by vectorize_width(1)
or vectorize(disable) since the option is also used for interleaving
by the LoopVectorize pass.

Reviewed By: dmgreen, Meinersbur

Differential Revision: https://reviews.llvm.org/D94779
The file was modifiedclang/lib/CodeGen/CGLoopInfo.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-loop-predicate.cpp
Commit a80232bd5f125ab81554882825a564bdc7ab8e0c by tejohnson
[LTT] Address post-review comments (NFC)

Implement some post-review cleanup suggestions for D96083.
The file was modifiedllvm/lib/Transforms/IPO/LowerTypeTests.cpp
Commit b3bafbcb182c27f8c7b9f9414426d4205e1f5550 by tejohnson
[lld] Reorder cases in test to match comments (NFC)

The test added in 1487747e990ce9f8851f3d92c3006a74134d7518 had a few
cases that were out of order compared to the comments. Reordered to
match.
The file was modifiedlld/test/ELF/lto/devirt_vcall_vis_export_dynamic.ll
Commit 95a695bea4a0aa8d5d1d0e7c29e8a5b4f6457480 by tejohnson
[gold] Add case being tested by equivalent lld test

The new tests added by 1487747e990ce9f8851f3d92c3006a74134d7518 for lld
and gold plugin were largely equivalent, but the gold one was missing
one of the cases added to lld. Add that test to the gold plugin version.
The file was modifiedllvm/test/tools/gold/X86/devirt_vcall_vis_export_dynamic.ll