[llvm] [SimplifyCFG] Emit `rotl` directly in `ReduceSwitchRange` (PR #77603)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 05:34:01 PST 2024


dtcxzyw wrote:

> LGTM. If `fshl` is an equivalent alternative or a cheaper alternative.

We always transform this pattern into `fshl` in `InstCombine`. So at least it doesn't cause regressions.


https://github.com/llvm/llvm-project/pull/77603


More information about the llvm-commits mailing list