[llvm] [ARM] Replace manual CLS expansion with ISD::CTLS (PR #178430)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 09:27:23 PST 2026


================
@@ -20513,9 +20496,42 @@ SDValue ARMTargetLowering::LowerREM(SDNode *N, SelectionDAG &DAG) const {
 
 SDValue
 ARMTargetLowering::LowerDYNAMIC_STACKALLOC(SDValue Op, SelectionDAG &DAG) const {
-  assert(Subtarget->isTargetWindows() && "unsupported target platform");
   SDLoc DL(Op);
 
+  if (!Subtarget->isTargetWindows()) {
----------------
topperc wrote:

How is this related to this patch?

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


More information about the llvm-commits mailing list