[PATCH] D32575: Don't try to legalize Intermediate instructions (with generic types)

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 01:38:00 PDT 2017


dsanders added inline comments.


================
Comment at: lib/CodeGen/GlobalISel/Legalizer.cpp:183
+        if (isPreISelGenericOpcode(MI->getOpcode())) {
+          ++NumNewInsns;
+          WorkList.push_back(MI);
----------------
This line needs to happen unconditionally so that --debug-only=legalize reports the instruction.


https://reviews.llvm.org/D32575





More information about the llvm-commits mailing list