[llvm] [InstCombine] Propagate invariant.load metadata across unpacked loads (PR #152186)

Vedant Paranjape via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 8 09:16:04 PDT 2025


================
@@ -764,6 +773,7 @@ static Instruction *unpackLoadToAggregate(InstCombinerImpl &IC, LoadInst &LI) {
           Name + ".unpack");
       // Propagate AA metadata. It'll still be valid on the narrowed load.
       L->setAAMetadata(LI.getAAMetadata());
----------------
VedantParanjape wrote:

gentle ping!

https://github.com/llvm/llvm-project/pull/152186


More information about the llvm-commits mailing list