mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
07dbfddbd4
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
12 lines
306 B
YAML
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
|
|
...
|