[PATCH] D46278: [AArch64] Fold B = csel A, A into B = COPY A

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 14:22:27 PDT 2018


rengolin added a comment.

In https://reviews.llvm.org/D46278#1083413, @efriedma wrote:

> It's not really csel vs. mov; the COPY likely gets coalesced away, and it might allow erasing the condition which feeds the select, which might allow erasing more code, etc.


Ah, good point! Indeed, much better than I originally thought. :)


https://reviews.llvm.org/D46278





More information about the llvm-commits mailing list