[PATCH] D64953: GlobalISel: Support physical register inputs in patterns

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 11:34:27 PDT 2019


arsenm marked an inline comment as done.
arsenm added inline comments.


================
Comment at: test/TableGen/gisel-physreg-input.td:74
+def MUL_PHYS : I<(outs GPR32:$dst), (ins GPR32:$SPECIAL),
+    [(set GPR32:$dst, (mul GPR32:$SPECIAL, SPECIAL))]> {
+  let Uses = [SPECIAL];
----------------
aemerson wrote:
> How can the SPECIAL register be a part of the GPR32 reg class here?
It's not. This is checking what happens if you for some reason name an operand the same thing as a physical register name


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64953/new/

https://reviews.llvm.org/D64953





More information about the llvm-commits mailing list