aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-04-16 09:39:52 -0700
committerGitHub <noreply@github.com>2025-04-16 09:39:52 -0700
commit76b5fcbf975547251faaeed8b567ea09d139a607 (patch)
tree6647fe0b1405ace9733a1a2cc606f0de339a5247 /llvm/lib/Bitcode
parent24171f4d12a02b49de1cc7a1beb2dc19c740a9f1 (diff)
downloadllvm-76b5fcbf975547251faaeed8b567ea09d139a607.zip
llvm-76b5fcbf975547251faaeed8b567ea09d139a607.tar.gz
llvm-76b5fcbf975547251faaeed8b567ea09d139a607.tar.bz2
[TableGen] Store flat source operand number in OperandMap in PseudoLoweringEmitter. NFC (#135886)
Previously we stored the index into the source CodeGenInstruction's operand list. Any operand with sub operands stored the same index into all of the OperandMap entries for that operand. The emitting loop would look up the MIOperandNo for the source and add the sub index. This patch moves the logic into the loop that updates the OperandMap. Now the emitting loop only needs to print the value. While there, I've added a check that MIOperandNo is the same for source and destination.
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions