[PATCH] D87196: [InstCombine] Fold abs of known negative operand

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 5 08:37:55 PDT 2020


nikic added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/abs-intrinsic.ll:230
 
 ; Abs argument negative based on known bits.
 
----------------
I've duplicated the relevant InstSimplify tests above here, to make sure they still fold in InstCombine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87196



More information about the llvm-commits mailing list