1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/CodeGen/X86/expand-post-ra-pseudo.mir
Matthias Braun 07dbfddbd4 ExpandPostRAPseudos: Fix alldefsAreDead() not removing operands
One case left around nonsensical operands for the KILL instruction
which the machine verifier checks for nowadays. While this should not
hurt in release builds we should fix the machine verifier errors anyway.

llvm-svn: 344008
2018-10-09 00:07:34 +00:00

12 lines
306 B
YAML

# RUN: llc -o - %s -mtriple=x86_64-- -run-pass=postrapseudos | FileCheck %s
---
# CHECK-LABEL: name: func
name: func
body: |
bb.0:
liveins: $eax
; CHECK-NOT: dead $rax = KILL {{[0-9]+}}
; CHECK: dead $rax = KILL killed $eax
dead $rax = SUBREG_TO_REG 0, killed $eax, %subreg.sub_32bit
...