linux-packaging-mono/external/llvm/test/CodeGen/AArch64/no-fp-asm-clobbers-crash.ll
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +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" }