[PATCH] D32275: [globalisel][tablegen] Add several GINodeEquiv's for operators that do not require additional support.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 02:44:05 PDT 2017


dsanders added inline comments.


================
Comment at: include/llvm/Target/GlobalISel/SelectionDAGCompat.td:36-37
+// G_PTRTOINT - SelectionDAG has no equivalent.
+// G_CONSTANT - Not needed since constants aren't operators.
+// G_FCONSTANT - Not needed since constants aren't operators.
 def : GINodeEquiv<G_ADD, add>;
----------------
It turns out these two lines aren't entirely true. In AArch64 they're used as operators in some contexts and operands in others. I'll drop these lines.


https://reviews.llvm.org/D32275





More information about the llvm-commits mailing list