diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2024-08-23 09:43:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-23 09:43:36 -0700 |
commit | 0bf5846553412978d30b84f06c6b6183890ab8e5 (patch) | |
tree | 119564156c2be423971f2dfda0ff682378bb6e1e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 3d18cea904391f510ffd754713ce4e1731845ffb (diff) | |
download | llvm-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