[llvm] [CodeGen][RISCV][AArch64] Added signed extension support to TypePromotion (PR #226304)
Ananth Jasty via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 16:53:11 PDT 2026
================
@@ -243,7 +249,8 @@ bool TypePromotionImpl::isSource(Value *V) {
else if (isa<LoadInst>(V))
return true;
else if (auto *Call = dyn_cast<CallInst>(V))
- return Call->hasRetAttr(Attribute::AttrKind::ZExt);
+ return (Call->hasRetAttr(Attribute::AttrKind::ZExt) ||
----------------
bbbill42 wrote:
I can get that back if I thread UseSExt through the chain, considering it.
https://github.com/llvm/llvm-project/pull/226304
More information about the llvm-commits
mailing list