Be more consistent in the naming convention for the various RET instructions to specify in terms of bitwidth. Helps prevent future scheduler model mismatches like those that were only addressed in D44687. Differential Revision: https://reviews.llvm.org/D113302
21 lines
733 B
YAML
21 lines
733 B
YAML
# RUN: llc -o - %s -mtriple=x86_64-- -run-pass=none | llc -o - -x mir - -mtriple=x86_64-- -run-pass=none | FileCheck %s
|
|
---
|
|
# CHECK-LABEL: name: func0
|
|
# CHECK: registers:
|
|
# CHECK: - { id: 0, class: gr32, preferred-register: '' }
|
|
# CHECK: - { id: 1, class: gr32, preferred-register: '' }
|
|
# CHECK: body: |
|
|
# CHECK: bb.0:
|
|
# CHECK: %0:gr32 = MOV32r0 implicit-def $eflags
|
|
# CHECK: dead %1:gr32 = COPY %0
|
|
# CHECK: MOV32mr undef $rcx, 1, $noreg, 0, $noreg, killed %0 :: (volatile store (s32))
|
|
# CHECK: RET64 undef $eax
|
|
name: func0
|
|
body: |
|
|
bb.0:
|
|
%0 : gr32 = MOV32r0 implicit-def $eflags
|
|
dead %1 : gr32 = COPY %0
|
|
MOV32mr undef $rcx, 1, _, 0, _, killed %0 :: (volatile store (s32))
|
|
RET64 undef $eax
|
|
...
|