As presented in AsiaLLVM, one edge case for bad compile performance is clamr_cpuonly.cpp (53% slowdown under -O0) from Multisource benchmark.
The talk describes the bottleneck in CIRGenModule::applyReplacements(), divided in replacePointerTypeArgs (50%) and replaceAllSymbolUses (50%), while dealing dtor/ctor completion and replacement by aliasee’s.