1# REQUIRES: x86-registered-target 2# RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=null %s \ 3# RUN: -p no-op-machine-function -print-changed 2>&1 | FileCheck %s --check-prefix=CHECK-NO-OP 4 5# RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=null %s \ 6# RUN: -p dead-mi-elimination -print-changed 2>&1 | FileCheck %s --check-prefix=CHECK-SIMPLE 7 8--- 9name: test 10body: | 11 bb.0: 12 %1:gr64 = MOV64ri 0 13 %2:gr64 = MOV64ri 0 14 $eax = COPY %1 15 RET64 implicit $eax 16... 17 18# CHECK-NO-OP: *** IR Dump After NoOpMachineFunctionPass on test omitted because no change *** 19 20# CHECK-SIMPLE: *** IR Dump After DeadMachineInstructionElimPass on test *** 21# CHECK-SIMPLE-NOT: %2:gr64 = MOV64ri 0 22