aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/trunc-to-bool.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/trunc-to-bool.ll')
-rw-r--r--test/CodeGen/X86/trunc-to-bool.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/trunc-to-bool.ll b/test/CodeGen/X86/trunc-to-bool.ll
index 0ed6347..3dd98ee 100644
--- a/test/CodeGen/X86/trunc-to-bool.ll
+++ b/test/CodeGen/X86/trunc-to-bool.ll
@@ -25,7 +25,7 @@ ret_false:
; CHECK: btl
define i32 @test3(i8* %ptr) nounwind {
- %val = load i8* %ptr
+ %val = load i8, i8* %ptr
%tmp = trunc i8 %val to i1
br i1 %tmp, label %cond_true, label %cond_false
cond_true: