aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2010-11-18-SelectOfExtload.ll')
-rw-r--r--test/CodeGen/X86/2010-11-18-SelectOfExtload.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll b/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
index 6d54c7e..331e83b 100644
--- a/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
+++ b/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
@@ -4,11 +4,11 @@
@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
- %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