diff options
author | Fangrui Song <i@maskray.me> | 2025-04-13 21:45:28 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-04-13 21:45:29 -0700 |
commit | 2ff226ae2c9bdafc686d698b69b4a8519213f325 (patch) | |
tree | 9426d18315c94e55395a05845678ea261d678790 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 47cbc8706cb5d73f2db101165bf213d558f8b0cb (diff) | |
download | llvm-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