[llvm] [CodeGen][RISCV][AArch64] Added signed extension support to TypePromotion (PR #226304)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 15:57:21 PDT 2026
================
@@ -269,6 +275,8 @@ bool TypePromotionImpl::isSink(Value *V) {
return LessOrEqualTypeSize(Return->getReturnValue());
if (auto *ZExt = dyn_cast<ZExtInst>(V))
return GreaterThanTypeSize(ZExt);
+ if (auto *SExt = dyn_cast<SExtInst>(V))
----------------
topperc wrote:
Does this change the behavior of the existing Zero extend version?
https://github.com/llvm/llvm-project/pull/226304
More information about the llvm-commits
mailing list