[llvm] [X86] remove unnecessary movs when %rdx is an input to mulx (PR #184462)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 03:30:13 PST 2026


https://github.com/phoebewang approved this pull request.

I was thinking we'd better do it in a general way. But took a look at instructions, seems MULX is the only one that can commute operands with implicit register. So LGTM.

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


More information about the llvm-commits mailing list