aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2024-08-23 09:43:36 -0700
committerGitHub <noreply@github.com>2024-08-23 09:43:36 -0700
commit0bf5846553412978d30b84f06c6b6183890ab8e5 (patch)
tree119564156c2be423971f2dfda0ff682378bb6e1e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent3d18cea904391f510ffd754713ce4e1731845ffb (diff)
downloadllvm-0bf5846553412978d30b84f06c6b6183890ab8e5.zip
llvm-0bf5846553412978d30b84f06c6b6183890ab8e5.tar.gz
llvm-0bf5846553412978d30b84f06c6b6183890ab8e5.tar.bz2
InstructionSelect: Use GISelChangeObserver instead of MachineFunction::Delegate (#105725)
The main difference is that it's possible for multiple change observers to be installed at the same time whereas there can only be one MachineFunction delegate installed. This allows downstream targets to continue to use observers to recursively select. The target in question was selecting a gMIR instruction to a machine instruction plus some gMIR around it and relying on observers to ensure it correctly selected any gMIR it created before returning to the main loop.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions