projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a triple to switch.ll test.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
switch-jump-table.ll
diff --git
a/test/CodeGen/X86/switch-jump-table.ll
b/test/CodeGen/X86/switch-jump-table.ll
index 7ae45b56641cc30c21bc85f9a9fe93a766b89530..a84fb4aafd17849aa5dc0c31df1cd75dbb70d97d 100644
(file)
--- a/
test/CodeGen/X86/switch-jump-table.ll
+++ b/
test/CodeGen/X86/switch-jump-table.ll
@@
-1,4
+1,4
@@
-; RUN: llc -m
arch=x86
< %s | FileCheck %s
+; RUN: llc -m
triple=i686-pc-gnu-linux
< %s | FileCheck %s
; An unreachable default destination is replaced with the most popular case label.
; 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}]]
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
; CHECK: jbe .LBB0_1
; CHECK: movl $4
; CHECK: retl