https://bugs.llvm.org/show_bug.cgi?id=49714

            Bug ID: 49714
           Summary: update_test_checks.py does not use FileCheck var for
                    BB labels
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: lit
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

Hi,

update_test_checks.py uses variable for IR variables but do not use them for
basic block labels due to them not being preceded by the % symbol. The output
looks kind of weird with hardcoding of labels except when used in an
instruction.

Perhaps a first pass could be made over label to identify them (instead of
hardcoding knowledge of instructions that uses label) and use variable not
including the % prefix for those with a special naming scheme (e.g. BB_<FOO> or
<FOO>_BB).

An example of what I would expect instead of what is generated (see changes to
loopexitinglatch.ll testcase):

https://reviews.llvm.org/D99204#change-hTLptTksclfo

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to