[ARM] Fix for MVE VPT block pass
[llvm-core.git] / test / CodeGen / Thumb2 / inline-asm-i-constraint-i1.ll
blobfb28915b24c71fc2987a6eef7f4165514ec504d5
1 ; RUN: llc -mtriple=thumbv8-none-linux-gnueabi < %s | FileCheck %s
3 ; Make sure that boolean immediates are properly (zero) extended.
4 ; CHECK: TEST 42 + 1 - .
6 target triple = "thumbv8-none-linux-gnueabi"
8 define i32 @foo() #0 {
9 entry:
10   tail call void asm sideeffect "#TEST 42 + ${0:c} - .\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i1 true) #0
11   ret i32 1
14 attributes #0 = { nounwind }