[PATCH] D32882: [ArgPromotion] Add a testcase for PR32917

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 14:39:22 PDT 2017


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

LGTM.



================
Comment at: test/Transforms/ArgumentPromotion/pr32917.ll:15
+
+define internal fastcc void @fn1(i32* nocapture readonly) unnamed_addr #0 {
+  %2 = getelementptr inbounds i32, i32* %0, i64 -1
----------------
You don't need #0.


https://reviews.llvm.org/D32882





More information about the llvm-commits mailing list