Add a triple to the test.
[oota-llvm.git] / test / CodeGen / X86 / pr12360.ll
1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
2
3 define zeroext i1 @f1(i8* %x) {
4 entry:
5   %0 = load i8* %x, align 1, !range !0
6   %tobool = trunc i8 %0 to i1
7   ret i1 %tobool
8 }
9
10 ; CHECK: f1:
11 ; CHECK: movb   (%rdi), %al
12 ; CHECK-NEXT: ret
13
14 !0 = metadata !{i8 0, i8 2}