aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-04-13 21:45:28 -0700
committerFangrui Song <i@maskray.me>2025-04-13 21:45:29 -0700
commit2ff226ae2c9bdafc686d698b69b4a8519213f325 (patch)
tree9426d18315c94e55395a05845678ea261d678790 /llvm/lib/CodeGen/CodeGen.cpp
parent47cbc8706cb5d73f2db101165bf213d558f8b0cb (diff)
downloadllvm-2ff226ae2c9bdafc686d698b69b4a8519213f325.zip
llvm-2ff226ae2c9bdafc686d698b69b4a8519213f325.tar.gz
llvm-2ff226ae2c9bdafc686d698b69b4a8519213f325.tar.bz2
MCAsmBackend,Hexagon: Remove MCRelaxableFragment from fixupNeedsRelaxationAdvanced
Among fixupNeedsRelaxationAdvanced (introduced by https://reviews.llvm.org/D8217) targets, only Hexagon needs the `MCRelaxableFragment` parameter (commit 86f218e7ec5d941b7785eaebcb8f4cad76db8a64) to get the instruction packet (MCInst with sub-instruction operands). As fixupNeedsRelaxationAdvanced follows mayNeedRelaxation, we can store the MCInst in mayNeedRelaxation and eliminate the MCRelaxableFragment parameter. Follow-up to 7c83b7ef1796210451b839f4c58f2815f4aedfe5 that eliminates the MCRelaxableFragment parameter from fixupNeedsRelaxation.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions