reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
# RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s 2>&1 | FileCheck %s

# LLVM-MCA-BEGIN foo
add %eax, %eax
# LLVM-MCA-BEGIN foo
add %eax, %eax

# CHECK:      llvm-mca-markers-11.s:5:2: error: overlapping regions cannot have the same name
# CHECK-NEXT: # LLVM-MCA-BEGIN foo
# CHECK-NEXT:  ^
# CHECK-NEXT: llvm-mca-markers-11.s:3:2: note: region foo was previously defined here
# CHECK-NEXT: # LLVM-MCA-BEGIN foo
# CHECK-NEXT:  ^