aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-07-02 13:09:35 -0700
committerGitHub <noreply@github.com>2025-07-02 13:09:35 -0700
commit6ff3b43700175dbff8f2e4b63c6f27835418e20c (patch)
tree2602bda0d64680fc6de270f3ba9a87a46a355ec0 /clang/lib/Frontend/CompilerInvocation.cpp
parent8eb61d9154c5379c1a74f65aa850cac5060c8b0a (diff)
downloadllvm-6ff3b43700175dbff8f2e4b63c6f27835418e20c.zip
llvm-6ff3b43700175dbff8f2e4b63c6f27835418e20c.tar.gz
llvm-6ff3b43700175dbff8f2e4b63c6f27835418e20c.tar.bz2
[TableGen] More generically handle tied source operands in CompressInstEmitter. (#146183)
Move the creation of OperandMap from createDagOperandMapping to the loop in addDagOperandMapping. Expand it to store the DAG operand number and the MI operand number which will be different when there are tied operands. Rename createDagOperandMapping to checkDagOperandMapping to better describe the remaining code. I didn't lift the restriction that a source instruction can only have one tied operand, but we should be able to if we have a use case. There's a slight difference in the generate output. We now check that operand 0 and 2 of QC_MVEQI are equal instead of operand 1 and 2. This should be equivalent since operand 0 and 1 have a tied constraint.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions