https://github.com/dtcxzyw commented: Do we have a TLI hook querying whether the target supports predicated instructions? This optimization looks less profitable on ARM64 since it has conditional compares. https://github.com/llvm/llvm-project/pull/171805