[llvm] [AArch64] Fix lowering of non-power2 uitofp (PR #190921)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 14:48:40 PDT 2026
================
@@ -4649,6 +4649,9 @@ SDValue DAGTypeLegalizer::SplitVecOp_TruncateHelper(SDNode *N) {
if (getTypeAction(FinalVT) == TargetLowering::TypeScalarizeVector)
return SplitVecOp_UnaryOp(N);
+ if (IsFloat && !isPowerOf2_32(InElementSize))
----------------
davemgreen wrote:
It was so that the above SplitVecOp_UnaryOp(N) could apply, IIRC.
https://github.com/llvm/llvm-project/pull/190921
More information about the llvm-commits
mailing list