[C++20][Modules][Serialization] Add an additional test case for #120277. (#126349)
[llvm-project.git] / llvm / test / Other / change-printer.mir
blob5e57da50e625dc0caaa379fb749967733363ef82
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
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
8 ---
9 name:            test
10 body:             |
11   bb.0:
12     %1:gr64 = MOV64ri 0
13     %2:gr64 = MOV64ri 0
14     $eax = COPY %1
15     RET64 implicit $eax
16 ...
18 # CHECK-NO-OP: *** IR Dump After NoOpMachineFunctionPass on test omitted because no change ***
20 # CHECK-SIMPLE: *** IR Dump After DeadMachineInstructionElimPass on test ***
21 # CHECK-SIMPLE-NOT: %2:gr64 = MOV64ri 0