1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/CodeGen/PowerPC/spill-nor0.mir
Matt Arsenault e11b9fcbe6 Reapply "RegAllocFast: Rewrite and improve"
This reverts commit 73a6a164b84a8195defbb8f5eeb6faecfc478ad4.
2020-09-30 10:35:25 -04:00

18 lines
329 B
YAML

# RUN: llc -o - %s -mtriple=powerpc64-- -run-pass=regallocfast | FileCheck %s
---
# CHECK-LABEL: name: func
name: func
tracksRegLiveness: true
body: |
bb.0:
%0 : gprc = LI 42
%1 : gprc_nor0 = COPY %0
; CHECK: STW
; Clobber all regs to force a spill
NOP csr_noregs
; CHECK: LWZ
NOP implicit %1
...