1# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s 2>&1 | FileCheck %s 2 3# LLVM-MCA-END foo 4 5# CHECK: llvm-mca-markers-8.s:3:2: error: found an invalid region end directive 6# CHECK-NEXT: # LLVM-MCA-END foo 7# CHECK-NEXT: ^ 8# CHECK-NEXT: llvm-mca-markers-8.s:3:2: note: unable to find an active region named foo 9# CHECK-NEXT: # LLVM-MCA-END foo 10# CHECK-NEXT: ^ 11