Adds patterns of the form "(and a, (not b)) -> bic".
Details
Details
NOTE: With this support I'm inclined to remove AArch64ISD::BIC,
but will leave that investigation for another time.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM!
llvm/test/CodeGen/AArch64/sve-int-log.ll | ||
---|---|---|
133 | Looks like there is a potential optimisation here to remove the ptrue because we should just be able to reuse p0.b as the general predicate too, similar to this https://reviews.llvm.org/D118146. |
Comment Actions
Looks like this breaks lld tests on Mac: http://45.33.8.238/macm1/26613/step_10.txt
Please take a look and revert for now if it takes a while to fix.
Comment Actions
Are you sure? This is an SVE specific isel patch so it's not immediate obviously how it would affect aarch64-adrp-ldr-got.s which only runs llvm-mc, lld and llvm-objdump.
Comment Actions
The bot cycled green on the next run, so it looks like it's a flaky test. Sorry for the noise.
Looks like there is a potential optimisation here to remove the ptrue because we should just be able to reuse p0.b as the general predicate too, similar to this https://reviews.llvm.org/D118146.