[PATCH] D70230: [DAGCombine] Don't check the legality of type when combine the SIGN_EXTEND_INREG

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 12:43:45 PST 2019


dmgreen added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:7572
+        TLI.getOperationAction(ISD::SIGN_EXTEND_INREG, ExtVT) ==
+        TargetLowering::Legal)
       return DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), VT,
----------------
Remember to clang-format before committing.


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

https://reviews.llvm.org/D70230





More information about the llvm-commits mailing list