aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2024-02-05 21:17:09 -0700
committerGitHub <noreply@github.com>2024-02-05 20:17:09 -0800
commit942cb2427a0e19f63b2f5b7da3d3fa6a594df3fe (patch)
treead58af31c653642329d23b106fa6a22284318b60 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentd193ac4f7180d8242c25d941cf3ff8a150538af6 (diff)
downloadllvm-942cb2427a0e19f63b2f5b7da3d3fa6a594df3fe.zip
llvm-942cb2427a0e19f63b2f5b7da3d3fa6a594df3fe.tar.gz
llvm-942cb2427a0e19f63b2f5b7da3d3fa6a594df3fe.tar.bz2
[CodeGen][NewPM] Consolidate PASS_NAME and CONSTRUCTOR in MachinePassRegistry.def (#80779)
This matches the optimization pipeline's PassRegistry.def. I ran into a bug where CONSTRUCTOR wasn't always being used (in PassBuilder::registerMachineFunctionAnalyses()). Make DUMMY_* just accept a pass name, there's no point in having proper constructors if the generated dummy class has a templated constructor accepting arbitrary arguments. Remove unused getPassNameFromLegacyName() as it was using this but for no purpose. Remove DUMMY_MACHINE_FUNCTION_ANALYSIS, we can just add those as we port them. This for some reason exposed missing mock calls in existing unittests.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions