SimplifyCFG: Track the number of used icmps when turning a icmp chain into a switch...
[oota-llvm.git] / test / Transforms / SimplifyCFG / switch_formation.dbg.ll
index 09bef648ab09008264f01cc6301a26729ebaa6a6..2723ec608e1d7931fa0b5d5849b8a833621fdc11 100644 (file)
@@ -14,8 +14,8 @@ declare void @llvm.dbg.stoppoint(i32, i32, { }*) nounwind
 
 define i1 @t({ i32, i32 }* %I) {
 ; CHECK: @t
-; CHECK: %off = add i32 %tmp.2.i, -14
-; CHECK: %switch = icmp ult i32 %off, 6
+; CHECK: %tmp.2.i.off = add i32 %tmp.2.i, -14
+; CHECK: %switch = icmp ult i32 %tmp.2.i.off, 6
 entry:
         %tmp.1.i = getelementptr { i32, i32 }* %I, i64 0, i32 1         ; <i32*> [#uses=1]
         %tmp.2.i = load i32* %tmp.1.i           ; <i32> [#uses=6]