Files
clang-p2996/llvm/test/CodeGen/X86/optnone.mir
paperchalice 9afec3ca3e [Instrumentation] Fix test failure in #115471 (#115596)
Add triple to indicate this is x86 test.
2024-11-09 17:01:54 +08:00

21 lines
484 B
YAML

# RUN: llc -mtriple=x86_64-- -passes=machine-cse -debug-pass-manager %s -o - 2>&1 | FileCheck %s
# CHECK: Skipping pass MachineCSEPass on test_optnone due to optnone attribute
# CHECK: Running pass: MachineCSEPass on test_opt
--- |
define void @test_optnone() noinline optnone { ret void }
define void @test_opt() { ret void }
...
---
name: test_optnone
body: |
bb.0:
RET64
...
---
name: test_opt
body: |
bb.0:
RET64
...