This prevents a machine verifier error, where it "Expected implicit register after groups". Fixes #158661
18 lines
487 B
LLVM
18 lines
487 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
|
|
; RUN: llc -mtriple=armv7-none-eabi -verify-machineinstrs < %s | FileCheck %s
|
|
|
|
define i32 @foo() strictfp {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: @ %bb.0: @ %entry
|
|
; CHECK-NEXT: mov r0, #1
|
|
; CHECK-NEXT: @APP
|
|
; CHECK-NEXT: @NO_APP
|
|
; CHECK-NEXT: mvn r0, #0
|
|
; CHECK-NEXT: bx lr
|
|
entry:
|
|
tail call void asm sideeffect "", "r"(i32 1) #1, !srcloc !0
|
|
ret i32 -1
|
|
}
|
|
|
|
!0 = !{i64 87}
|