[LLVMbugs] [Bug 19693] New: Extend the expressivity of isCommutable
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 8 16:06:38 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19693
Bug ID: 19693
Summary: Extend the expressivity of isCommutable
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: TableGen
Assignee: unassignedbugs at nondot.org
Reporter: qcolombet at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Currently when an instruction has commutable arguments, one can set the
isCommutable bit on the definition of the instruction.
By default the isCommutable flag implies that the first two register arguments
of the instruction are commutable.
To change that, one has to implement the related logic in
XXXXTarget::findCommutedOpIndices.
This is error prone and it would be nice to have this information in the td
file instead of having to write separate C++ code.
X86 has one such example with the vfmadd231XXX instruction.
--
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/20140508/4229f553/attachment.html>
More information about the llvm-bugs
mailing list