Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AArch64: Use b.cond instead of cbz/cbnz when all register are used up
`ificmpeq` and its variant nodes have 3 children and the third child is `GlRegDeps` whose children are `aRegLoad`/`iRegLoad`/`PassThrough` of global registers. In some cases, `GlRegDeps` node uses all the allocatable integer registers. If this happens, we cannot use `cbz`/`cbnz` instruction for branch because `cbz`/`cbnz` requires a register in addition to those global registers. This commit changes `ificmpHelper` to use `b.cond` instruction for that case. Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
- Loading branch information