brintos

brintos / llvm-project-archived public Read only

0
0
Text · 717 B · 5e57da5 Raw
22 lines · plain
1# REQUIRES: x86-registered-target2# 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-OP4 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-SIMPLE7 8---9name:            test10body:             |11  bb.0:12    %1:gr64 = MOV64ri 013    %2:gr64 = MOV64ri 014    $eax = COPY %115    RET64 implicit $eax16...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 022