diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2024-06-18 09:16:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 09:16:32 +0200 |
commit | d95b82c49aef0223bcc03ff5a9163e70037c82be (patch) | |
tree | 1e9942efe58cb8c87adb568d84bf8bb1f7a11aa5 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | ae0813f2d7222c4eab7cd3e6099d49f50318d1d5 (diff) | |
download | llvm-d95b82c49aef0223bcc03ff5a9163e70037c82be.zip llvm-d95b82c49aef0223bcc03ff5a9163e70037c82be.tar.gz llvm-d95b82c49aef0223bcc03ff5a9163e70037c82be.tar.bz2 |
[NFC][AMDGPU] Make AMDGPUSplitModule a ModulePass (#95773)
It allows it to access TTI correctly, and opens the door to accessing
more analysis in the future.
I went back and forth between this, and also making the default
SplitModule a Pass too to make it uniform, but I decided against it
because it's just needless complications. Neither llvm-split or
LTOBackend have a PM ready to use so we need to create one anyway. Let's
keep all the mess hidden in the AMDGPU version for now to keep this
change more self-contained.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions