2017-06-07 04:06:57 +08:00
|
|
|
# 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:
|
2018-02-01 06:04:26 +08:00
|
|
|
# CHECK: %0:gr32 = MOV32r0 implicit-def $eflags
|
2017-10-25 02:04:54 +08:00
|
|
|
# CHECK: dead %1:gr32 = COPY %0
|
2018-02-01 06:04:26 +08:00
|
|
|
# CHECK: MOV32mr undef $rcx, 1, $noreg, 0, $noreg, killed %0 :: (volatile store 4)
|
|
|
|
# CHECK: RETQ undef $eax
|
2017-06-07 04:06:57 +08:00
|
|
|
name: func0
|
|
|
|
body: |
|
|
|
|
bb.0:
|
2018-02-01 06:04:26 +08:00
|
|
|
%0 : gr32 = MOV32r0 implicit-def $eflags
|
2017-06-07 04:06:57 +08:00
|
|
|
dead %1 : gr32 = COPY %0
|
2018-02-01 06:04:26 +08:00
|
|
|
MOV32mr undef $rcx, 1, _, 0, _, killed %0 :: (volatile store 4)
|
|
|
|
RETQ undef $eax
|
2017-06-07 04:06:57 +08:00
|
|
|
...
|