[llvm-bugs] [Bug 39045] New: TableGen -gen-global-isel ignores GISelPredicateCode when two PatFrag objects have the same frags value
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 21 22:15:56 PDT 2018
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: unassignedbugs at nondot.org
Reporter: tstellar at redhat.com
CC: daniel_l_sanders at apple.com, llvm-bugs at lists.llvm.org,
rtereshin at apple.com
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180922/d4f03a3d/attachment.html>
More information about the llvm-bugs
mailing list