[llvm] [LLVM][CodeGen][AArch64] while_le(#, max_int) -> all_active (PR #111183)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 03:29:06 PDT 2024
paulwalker-arm wrote:
> I'm not familiar enough with the LLVM code here to tell if this is a problem, but this transform is only valid if the NZCV output of WHILELE is unused, right? Otherwise it'd have to fold to PTRUES
We don't expose the "S" instruction variants at this level but instead have a dedicated PTEST ISD node that we later try to combine into an instruction that also sets the flags.
https://github.com/llvm/llvm-project/pull/111183
More information about the llvm-commits
mailing list