summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2012-09-26 14:01:53 +0000
committerHans Wennborg <hans@hanshq.net>2012-09-26 14:01:53 +0000
commit50b7d70707960155ad28ff23d7622009b7b97eb3 (patch)
tree4dc660eff70445606f083e346473a825126d190f /test/Transforms/SimplifyCFG
parent565df79b74126e1f2a2be8e2c55c5bb506270f26 (diff)
downloadllvm-50b7d70707960155ad28ff23d7622009b7b97eb3.tar.gz
llvm-50b7d70707960155ad28ff23d7622009b7b97eb3.tar.bz2
llvm-50b7d70707960155ad28ff23d7622009b7b97eb3.tar.xz
Address Duncan's comments on r164684:
- Put statistics in alphabetical order - Don't use getZextValue when building TableInt, just use APInts - Introduce Create{Z,S}ExtOrTrunc in IRBuilder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SimplifyCFG')
-rw-r--r--test/Transforms/SimplifyCFG/switch_to_lookup_table.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll b/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
index 97c80b9d48..ef9d51669d 100644
--- a/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
+++ b/test/Transforms/SimplifyCFG/switch_to_lookup_table.ll
@@ -221,8 +221,8 @@ lor.end:
; CHECK-NEXT: %0 = icmp ult i8 %switch.tableidx, 59
; CHECK-NEXT: br i1 %0, label %switch.lookup, label %lor.end
; CHECK: switch.lookup:
-; CHECK-NEXT: %switch.zext = zext i8 %switch.tableidx to i59
-; CHECK-NEXT: %switch.shiftamt = mul i59 %switch.zext, 1
+; CHECK-NEXT: %switch.cast = zext i8 %switch.tableidx to i59
+; CHECK-NEXT: %switch.shiftamt = mul i59 %switch.cast, 1
; CHECK-NEXT: %switch.downshift = lshr i59 -288230375765830623, %switch.shiftamt
; CHECK-NEXT: %switch.masked = trunc i59 %switch.downshift to i1
; CHECK-NEXT: br label %lor.end