[PATCH] D32423: Simplify barriers of null and undef
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 24 07:57:15 PDT 2017
davide added a comment.
This is fine but please hold committing it until the other half goes in.
================
Comment at: test/Transforms/GVN/invariant.group.ll:488-490
+; CHECK: ret i8* null
+ %b2 = call i8* @llvm.invariant.group.barrier(i8* null)
+ ret i8* %b2
----------------
CHECK-NEXT:
================
Comment at: test/Transforms/GVN/invariant.group.ll:493-495
+; CHECK-LABEL: define i8* @siplifyUndefBarrier()
+define i8* @siplifyUndefBarrier() {
+; CHECK: ret i8* undef
----------------
CHECK-NEXT:
https://reviews.llvm.org/D32423
More information about the llvm-commits
mailing list