Files
clang-p2996/llvm/test/CodeGen/X86/expand-post-ra-pseudo.mir
Matthias Braun 1c96c9687f 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
...