Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-exegesis / X86 / uops / uops-CMOV16rm-noreg-serialization.s
blob302c2b0ee722b018f9b8dfb739a78454c7e4947d
1 # RUN: llvm-exegesis -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -mode=uops --benchmark-phase=assemble-measured-code -opcode-name=CMOV16rm -benchmarks-file=- | FileCheck %s -check-prefixes=CHECK-YAML
3 # https://bugs.llvm.org/show_bug.cgi?id=41448
4 # Verify that we correctly serialize RegNo 0 as %noreg, not as an empty string!
6 CHECK-YAML: ---
7 CHECK-YAML-NEXT: mode: uops
8 CHECK-YAML-NEXT: key:
9 CHECK-YAML-NEXT: instructions:
10 CHECK-YAML-NEXT: - 'CMOV16rm {{[A-Z0-9]+}} {{[A-Z0-9]+}} {{[A-Z0-9]+}} i_0x1 %noreg i_0x0 %noreg i_0x{{[0-9a-f]}}'
11 CHECK-YAML-LAST: ...