[llvm-branch-commits] X86: Add X86TargetLowering::isProfitableToHoist hook for immediate operands. (PR #141326)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 23 23:50:56 PDT 2025


https://github.com/nikic commented:

I'm not super clear on what it is you're trying to fix here.

Probably LowerTypeTests should be directly emitting a fshl/fshr instead of a bit shift sequence to make matching to rotate more reliable. Would that help you or not?

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


More information about the llvm-branch-commits mailing list