• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple i686-gnu -filetype asm -o - %s 2>&1 | FileCheck %s
2
3define void @test_L_ff() {
4entry:
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
11define void @test_L_ffff() {
12entry:
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
19define void @test_M_1() {
20entry:
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
27define void @test_O_64() {
28entry:
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
35