http://llvm.org/bugs/show_bug.cgi?id=20571

            Bug ID: 20571
           Summary: FileCheck should clear variables on CHECK-LABEL
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Currently a variable captured before a CHECK-LABEL can match an attempted use
in a following label. This can result in unintended matches in what should be
an unrelated segment of code


; CHECK-LABEL: @func1
; CHECK: MOV [[FOO:1234]]
; CHECK: STORE [[FOO]]

; CHECK-LABEL: @func2
; CHECK: STORE [[FOO]] // Should be considered an undefined variable, but it
will match

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to