[PATCH] D39030: Don't crash when we see unallocatable registers in clobbers

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 20 12:57:08 PDT 2017


efriedma added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/LegalizeTypes.h:97
+        return O->getOpcode() == ISD::INLINEASM;
+      });
+    }
----------------
Might as well just allow all ISD::Register nodes?  The type of an ISD::Register isn't really significant anyway.


https://reviews.llvm.org/D39030





More information about the llvm-commits mailing list