• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s | FileCheck %s
2;
3; Be sure that we ignore clobbers of unallocatable registers, rather than
4; crashing.
5
6target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
7target triple = "aarch64"
8
9; CHECK-LABEL: foo:
10; CHECK: ret
11define void @foo() #0 {
12entry:
13  call void asm sideeffect "", "~{v0}"()
14  call void asm sideeffect "", "~{s0}"()
15  ret void
16}
17
18attributes #0 = { nounwind "target-features"="-crypto,-fp-armv8,-neon" }
19