[PATCH] D63163: [GlobalISel][AArch64] Fold G_SUB into G_ICMP when it's safe to do so

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 14:32:46 PDT 2019


paquette added a comment.

In D63163#1538760 <https://reviews.llvm.org/D63163#1538760>, @arsenm wrote:

> I thought PeepholeOptimizer took care of this sort of thing?


In AArch64, these sorts of things are also explicitly matched and selected in AArch64ISelLowering.cpp.

I guess that it's a pain to match past ISel, so I guess SDAG tries to do some of the work early in.


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

https://reviews.llvm.org/D63163





More information about the llvm-commits mailing list