Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / x86-inline-asm-validation.ll
1 ; RUN: llc -mtriple i686-gnu -filetype asm -o - %s 2>&1 | FileCheck %s
2
3 define void @test_L_ff() {
4 entry:
5   call void asm "", "L,~{dirflag},~{fpsr},~{flags}"(i32 255)
6   ret void
7 }
8
9 ; CHECK-NOT: error: invalid operand for inline asm constraint 'L'
10
11 define void @test_L_ffff() {
12 entry:
13   call void asm "", "L,~{dirflag},~{fpsr},~{flags}"(i32 65535)
14   ret void
15 }
16
17 ; CHECK-NOT: error: invalid operand for inline asm constraint 'L'
18
19 define void @test_M_1() {
20 entry:
21   call void asm "", "M,~{dirflag},~{fpsr},~{flags}"(i32 1)
22   ret void
23 }
24
25 ; CHECK-NOT: error: invalid operand for inline asm constraint 'M'
26
27 define void @test_O_64() {
28 entry:
29   call void asm "", "O,~{dirflag},~{fpsr},~{flags}"(i32 64)
30   ret void
31 }
32
33 ; CHECK-NOT: error: invalid operand for inline asm constraint 'O'
34