Files
clang-p2996/llvm/test/Transforms/CorrelatedValuePropagation
Fabian Wolff 45ecfed6c6 [CVP] Remove ashr of -1 or 0
Fixes PR#52190. There is already a check for converting ashr instructions with non-negative left-hand sides into lshr; this patch adds an optimization to remove ashr altogether if the left-hand side is known to be in the range [-1, 1).

Differential Revision: https://reviews.llvm.org/D113835
2021-11-29 15:32:09 -08:00
..
2021-11-29 15:32:09 -08:00