[llvm-commits] [llvm] r167543 - /llvm/trunk/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll

Hans Wennborg hans at hanshq.net
Wed Nov 7 10:38:24 PST 2012


Author: hans
Date: Wed Nov  7 12:38:24 2012
New Revision: 167543

URL: http://llvm.org/viewvc/llvm-project?rev=167543&view=rev
Log:
Fix bad test IR in switch_to_lookup_table.ll

Modified:
    llvm/trunk/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll

Modified: llvm/trunk/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll?rev=167543&r1=167542&r2=167543&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll (original)
+++ llvm/trunk/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll Wed Nov  7 12:38:24 2012
@@ -770,7 +770,7 @@
 sw.default: unreachable
 
 return:
-  %retval.0 = phi i32 [ 1, %sw.bb3 ], [ -1, %sw.bb2 ], [ 1, %sw.bb1 ], [ 0, %sw.bb ]
+  %retval.0 = phi i32 [ 1, %sw.bb3 ], [ -1, %sw.bb2 ], [ 0, %sw.bb ]
   ret i32 %retval.0
 
 ; CHECK: @unreachable





More information about the llvm-commits mailing list