[PATCH] D28117: [NewGVN] Merge unconditional branches before value numbering
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 26 10:20:43 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL290546: [NewGVN] Change test to reflect difference between GVN and NewGVN. (authored by davide).
Changed prior to commit:
https://reviews.llvm.org/D28117?vs=82507&id=82511#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28117
Files:
llvm/trunk/test/Transforms/NewGVN/basic.ll
Index: llvm/trunk/test/Transforms/NewGVN/basic.ll
===================================================================
--- llvm/trunk/test/Transforms/NewGVN/basic.ll
+++ llvm/trunk/test/Transforms/NewGVN/basic.ll
@@ -1,4 +1,3 @@
-; XFAIL: *
; RUN: opt < %s -newgvn -S | FileCheck %s
define i32 @main() {
@@ -12,5 +11,7 @@
; CHECK: define i32 @main() {
; CHECK-NEXT: block1:
+; CHECK-NEXT: br label %block2
+; CHECK: block2:
; CHECK-NEXT: ret i32 0
; CHECK-NEXT: }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28117.82511.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161226/8b1c5451/attachment.bin>
More information about the llvm-commits
mailing list