[PATCH] D35375: [AArch64][Atomic] Canonicalize sub of immediate to add of -immediate.

Chad Rosier via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 14:17:21 PDT 2017


mcrosier added a comment.

In https://reviews.llvm.org/D35375#808725, @gberry wrote:

> Perhaps this would be better done at the IR level, in InstCombine?


Seems reasonable, but we'd have to know this is a good canonicalization for all targets, right?


https://reviews.llvm.org/D35375





More information about the llvm-commits mailing list