[llvm] [AArch64][FEAT_CMPBR] Codegen for Armv9.6-a CBB and CBH (PR #164899)

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 15:48:17 PDT 2025


dtellenbach wrote:

> > Since if-conversion needs to be able to undo conditional branches, we remember possibly folded sign- and zero-extensions as additional arguments of the CBB and CBH pseudos during codegen.
> 
> Can you not just use condition code for this? Signed conditions need to be sign-extended, unsigned conditions need to be zero-extended.

How about `assert[s,z]ext`? 

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


More information about the llvm-commits mailing list