[PATCH] D89955: [ValueTracking] Recognize more integer abs idioms

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 13:58:29 PDT 2020


nikic added a comment.

This pattern already gets canonicalized by InstCombine (and there are no multi-use problems): https://llvm.godbolt.org/z/od9oq4 As such, it shouldn't be reaching the backend in this form.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89955



More information about the llvm-commits mailing list