[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:01:10 PDT 2026


bbbill42 wrote:

> isSource should not be checking Call->hasRetAttr(Attribute::AttrKind::ZExt) for SExt.

Ok, can put that in, but also need to change the isSupportedValue to both ZExt and SExt as well. If either sext/zext is there we should be fine, the test is valid, now it's basically turning away some signext rets?

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


More information about the llvm-commits mailing list