[PATCH] D43172: [SelectionDAG][ARM][X86] Teach PromoteIntRes_SETCC to do a better job picking the result type for the setcc.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 15 14:08:18 PDT 2018


efriedma added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:604
+      // Input type isn't promoted, just use the default promoted type.
+      SVT = NVT;
+    }
----------------
Are you intentionally changing the behavior in the case where SVT is an illegal type which won't be promoted?


https://reviews.llvm.org/D43172





More information about the llvm-commits mailing list