[PATCH] D124618: [SelectionDAG] Use correct boolean representation in FoldConstantArithmetic

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 08:58:50 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:5651
+      } else
+        ScalarResult = getNode(ISD::SIGN_EXTEND, DL, LegalSVT, ScalarResult);
+    }
----------------
Can we pick the extend opcode outside the loop?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124618



More information about the llvm-commits mailing list