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

            Bug ID: 39045
           Summary: TableGen -gen-global-isel ignores GISelPredicateCode
                    when two PatFrag objects have the same frags value
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: GlobalISel
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Created attachment 20909
  --> https://bugs.llvm.org/attachment.cgi?id=20909&action=edit
Failing test case

To reproduce:
llvm-tblgen -gen-global-isel gisel-predicate-code-ignored.td -I$INCLUDE_DIR

It looks like the issue is that the generated match table thinks that frag_a
and frag_b are the same, and so the predicates defined in GISelPredicateCode
are never checked.

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

Reply via email to