[PATCH] D90734: [EarlyCSE] make abs recognization not depend on instcombine abs canonicalize

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 10 06:05:21 PST 2020


shchenz added a comment.

I am thinking `llvm.abs(A)` and `llvm.abs(-A)` can not be optimized in current earlyCSE phase? There are logics for commutative intrinsics and intrinsics with same operands in EarlyCSE pass. Am I missing something?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90734



More information about the llvm-commits mailing list