diff options
Diffstat (limited to 'test/CodeGen/X86/div8.ll')
-rw-r--r-- | test/CodeGen/X86/div8.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/div8.ll b/test/CodeGen/X86/div8.ll index 0825f79..f4f50e5 100644 --- a/test/CodeGen/X86/div8.ll +++ b/test/CodeGen/X86/div8.ll @@ -10,13 +10,13 @@ entry: %quotient = alloca i8, align 1 store i8 %dividend, i8* %dividend.addr, align 2 store i8 %divisor, i8* %divisor.addr, align 1 - %tmp = load i8* %dividend.addr, align 2 - %tmp1 = load i8* %divisor.addr, align 1 + %tmp = load i8, i8* %dividend.addr, align 2 + %tmp1 = load i8, i8* %divisor.addr, align 1 ; Insist on i8->i32 zero extension, even though divb demands only i16: ; CHECK: movzbl {{.*}}%eax ; CHECK: divb %div = udiv i8 %tmp, %tmp1 store i8 %div, i8* %quotient, align 1 - %tmp4 = load i8* %quotient, align 1 + %tmp4 = load i8, i8* %quotient, align 1 ret i8 %tmp4 } |