[PATCH] D12875: Stripping invariant.group metadata in CodeGenPrepare
Nick Lewycky via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 09:49:12 PDT 2015
nlewycky accepted this revision.
nlewycky added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: test/Transforms/CodeGenPrepare/invariant.group.ll:5-10
@@ +4,8 @@
+
+; CHECK-LABEL: define void @foo() {
+; CHECK-NOT: !invariant.group
+; CHECK-NOT: @llvm.invariant.group.barrier(
+; CHECK: %val = load i8, i8* @tmp
+; CHECK: store i8 42, i8* @tmp
+; CHECK-LABEL: }
+
----------------
Please interleave these in the def'n of @foo.
http://reviews.llvm.org/D12875
More information about the llvm-commits
mailing list