llvm-for-llvmta/test/tools/llvm-mca/X86/llvm-mca-markers-7.s

15 lines
409 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s 2>&1 | FileCheck %s
# LLVM-MCA-BEGIN foo
# LLVM-MCA-END
# LLVM-MCA-END
# CHECK: llvm-mca-markers-7.s:7:2: error: found an invalid region end directive
# CHECK-NEXT: # LLVM-MCA-END
# CHECK-NEXT: ^
# CHECK-NEXT: llvm-mca-markers-7.s:7:2: note: unable to find an active anonymous region
# CHECK-NEXT: # LLVM-MCA-END
# CHECK-NEXT: ^