llvm-project/llvm/test/Transforms/ConstantHoisting/RISCV
Craig Topper 9b27d13204 [RISCV] Disable constant hoisting for multiply by negated power of 2.
A mul by a negated power of 2 is a slli followed by neg. This doesn't
require any constant materialization and may be lower latency than mul.
The neg may also be foldable into other arithmetic.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D130047
2022-07-27 09:37:59 -07:00
..
immediates.ll [RISCV] Disable constant hoisting for multiply by negated power of 2. 2022-07-27 09:37:59 -07:00
lit.local.cfg