[PATCH] D71312: [InstCombine] Fold X / abs(X) to X < 0 ? -1 : 1

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 15:57:53 PST 2019


MaskRay added a comment.

What does this patch do with `INT_MIN`? Is there demonstrable benefit (code patterns in real world applications)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71312





More information about the llvm-commits mailing list