• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-unknown \
3; RUN:   -verify-machineinstrs -ppc-vsr-nums-as-vr \
4; RUN:   -ppc-asm-full-reg-names < %s | FileCheck %s
5
6define dso_local void @clobberVR(<4 x i32> %a, <4 x i32> %b) local_unnamed_addr {
7; CHECK-LABEL: clobberVR:
8; CHECK:       # %bb.0: # %entry
9; CHECK-NEXT:    stxv v22, -160(r1) # 16-byte Folded Spill
10; CHECK-NEXT:    #APP
11; CHECK-NEXT:    nop
12; CHECK-NEXT:    #NO_APP
13; CHECK-NEXT:    lxv v22, -160(r1) # 16-byte Folded Reload
14; CHECK-NEXT:    blr
15entry:
16  tail call void asm sideeffect "nop", "~{vs54}"()
17  ret void
18}
19
20define dso_local void @clobberFPR(<4 x i32> %a, <4 x i32> %b) local_unnamed_addr {
21; CHECK-LABEL: clobberFPR:
22; CHECK:       # %bb.0: # %entry
23; CHECK-NEXT:    stfd f14, -144(r1) # 8-byte Folded Spill
24; CHECK-NEXT:    #APP
25; CHECK-NEXT:    nop
26; CHECK-NEXT:    #NO_APP
27; CHECK-NEXT:    lfd f14, -144(r1) # 8-byte Folded Reload
28; CHECK-NEXT:    blr
29entry:
30  tail call void asm sideeffect "nop", "~{vs14}"()
31  ret void
32}
33