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