SelectionDAG switch lowering: use 'unsigned' to count destination popularity
[oota-llvm.git] / test / CodeGen / X86 / switch-jump-table.ll
index 7ae45b56641cc30c21bc85f9a9fe93a766b89530..a84fb4aafd17849aa5dc0c31df1cd75dbb70d97d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-pc-gnu-linux < %s | FileCheck %s
 
 
 ; An unreachable default destination is replaced with the most popular case label.
@@ -6,7 +6,7 @@
 define void @sum2(i32 %x, i32* %to) {
 ; CHECK-LABEL: sum2:
 ; CHECK: movl 4(%esp), [[REG:%e[a-z]{2}]]
-; cmpl $3, [[REG]]
+; CHECK: cmpl $3, [[REG]]
 ; CHECK: jbe .LBB0_1
 ; CHECK: movl $4
 ; CHECK: retl