[PATCH] D118595: [AARCH64][DAGCombine] Add combine for negation of CSEL absolute value pattern.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 12:52:32 PST 2022


sunho added a comment.

They seems to be fine unless nsw flag is specified on sub. IIUC, if nsw flag is not specified it will wrap around, then -(-128) = -128, still yielding the same result.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118595



More information about the llvm-commits mailing list