linux-packaging-mono/external/llvm/test/CodeGen/AArch64/no-fp-asm-clobbers-crash.ll
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

19 lines
454 B
LLVM

; RUN: llc < %s | FileCheck %s
;
; Be sure that we ignore clobbers of unallocatable registers, rather than
; crashing.
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64"
; CHECK-LABEL: foo:
; CHECK: ret
define void @foo() #0 {
entry:
call void asm sideeffect "", "~{v0}"()
call void asm sideeffect "", "~{s0}"()
ret void
}
attributes #0 = { nounwind "target-features"="-crypto,-fp-armv8,-neon" }