projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2010-11-18-SelectOfExtload.ll
diff --git
a/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
b/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
index a1074b6b8f3c4af3d732c40759a5bb64ebd6d20c..331e83bb5067e7de51b73829ad443c1e2a01b95d 100644
(file)
--- a/
test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
+++ b/
test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
@@
-1,14
+1,14
@@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86
-mattr=+cmov
| FileCheck %s
; Both values were being zero extended.
@u = external global i8
@s = external global i8
define i32 @foo(i1 %cond) {
; CHECK: @foo
; Both values were being zero extended.
@u = external global i8
@s = external global i8
define i32 @foo(i1 %cond) {
; CHECK: @foo
- %u_base = load i8* @u
+ %u_base = load i8
, i8
* @u
%u_val = zext i8 %u_base to i32
; CHECK: movzbl
; CHECK: movsbl
%u_val = zext i8 %u_base to i32
; CHECK: movzbl
; CHECK: movsbl
- %s_base = load i8* @s
+ %s_base = load i8
, i8
* @s
%s_val = sext i8 %s_base to i32
%val = select i1 %cond, i32 %u_val, i32 %s_val
ret i32 %val
%s_val = sext i8 %s_base to i32
%val = select i1 %cond, i32 %u_val, i32 %s_val
ret i32 %val