[llvm] [NFC][X86] Add getMemoryOperandIdx helper function (PR #211685)
Zachary Yedidia via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 24 01:06:23 PDT 2026
================
----------------
zyedidia wrote:
Yes it looks like the previous code relies on the caller passing the result of `getOperandBias` to this function as `CurOp`. I think this function could be refactored to not take a `CurOp` at all, and do all the `CurOp` movement in the caller (`encodeInstruction`) instead. I could do that as a separate PR after this?
https://github.com/llvm/llvm-project/pull/211685
More information about the llvm-commits
mailing list