[PATCH] D71701: [AArch64] Peephole optimization. Merge AND and TST instructions

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 00:06:18 PST 2020


dmgreen added a comment.

I think the ISel method might be a lot less code to have to deal with if it's done right. ISel already has a lot of the tools to do this kind of transform, even if it's not the normal kind of fold that you would usually do there.

If it is simple then I would recommend doing it there. That keeps all these kinds of optimisations in one place.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71701





More information about the llvm-commits mailing list