[PATCH] D118365: [SVE] Extend isel pattern coverage for BIC.

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 27 08:02:43 PST 2022


david-arm accepted this revision.
david-arm added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: llvm/test/CodeGen/AArch64/sve-int-log.ll:137
+; CHECK-NEXT:    ptrue p2.d
+; CHECK-NEXT:    bic p0.b, p2/z, p0.b, p1.b
+; CHECK-NEXT:    ret
----------------
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.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118365/new/

https://reviews.llvm.org/D118365



More information about the llvm-commits mailing list