[PATCH] D31954: [InstCombine] Retain TBAA when narrowing loads

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 24 12:48:32 PDT 2017


sanjoy accepted this revision.
sanjoy added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: lib/Transforms/InstCombine/InstructionCombining.cpp:2433
                                               L->getPointerOperand(), Indices);
+      Instruction *Load = Builder->CreateLoad(GEP);
+      // Whatever aliasing information we had for the orignal load must also
----------------
Call this `NL` like you've used `NS` before?


https://reviews.llvm.org/D31954





More information about the llvm-commits mailing list