[llvm] [SDAG] [X86] Extend SplitVecOp_VSETCC for STRICT_FSETCCS (PR #116768)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 02:11:31 PST 2024


================
@@ -4236,7 +4237,8 @@ SDValue DAGTypeLegalizer::SplitVecOp_TruncateHelper(SDNode *N) {
 }
 
 SDValue DAGTypeLegalizer::SplitVecOp_VSETCC(SDNode *N) {
-  bool isStrict = N->getOpcode() == ISD::STRICT_FSETCC;
+  bool isStrict = N->getOpcode() == ISD::STRICT_FSETCC ||
+                  N->getOpcode() == ISD::STRICT_FSETCCS;
----------------
phoebewang wrote:

There're many calls to `N->getOpcode()`. Define a variable for it.

https://github.com/llvm/llvm-project/pull/116768


More information about the llvm-commits mailing list