[llvm] [TableGen] More generically handle tied source operands in CompressInstEmitter. (PR #146183)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 10:55:08 PDT 2025
================
@@ -425,29 +411,26 @@ void CompressInstEmitter::createInstOperandMapping(
continue;
unsigned DagArgIdx = OpNo - TiedCount;
- StringMap<unsigned>::iterator SourceOp =
- SourceOperands.find(DestDag->getArgNameStr(DagArgIdx));
+ auto SourceOp = SourceOperands.find(DestDag->getArgNameStr(DagArgIdx));
----------------
jurahul wrote:
extract DestDag->getArgNameStr(DagArgIdx) into a local var?
https://github.com/llvm/llvm-project/pull/146183
More information about the llvm-commits
mailing list