[PATCH] D16160: Make sure we preserve alignment information after hoisting invariant load

Lawrence Hu via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 16:30:52 PST 2016


hulx2000 marked an inline comment as done.

================
Comment at: lib/CodeGen/IslNodeBuilder.cpp:923
@@ -917,3 +922,3 @@
                                   Ptr->getName() + ".cast");
   PreloadVal = Builder.CreateLoad(Ptr, LInst->getName());
   LInst->eraseFromParent();
----------------
jdoerfert wrote:
> I forgot. We should set the alingment here too. Sorry.
Oh, sorry, I missed that one too.


Repository:
  rL LLVM

http://reviews.llvm.org/D16160





More information about the llvm-commits mailing list