diff options
author | Fangrui Song <i@maskray.me> | 2025-03-04 22:14:04 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-03-04 22:14:04 -0800 |
commit | 89812985358784b16fb66928ad4da411386f4720 (patch) | |
tree | 11f9eb5933a761add5900dc75862a945c641356d /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | efb966e9295cdee8178591ae9d81e4b76dd138db (diff) | |
download | llvm-89812985358784b16fb66928ad4da411386f4720.zip llvm-89812985358784b16fb66928ad4da411386f4720.tar.gz llvm-89812985358784b16fb66928ad4da411386f4720.tar.bz2 |
Move PowerPC-specific absolute MCSymbolRefExpr::VariantKind to PPCMCExpr
This cleans up @l @ha optimization in PPCAsmParser and is also the first
step toward removing VK_PPC_* from the generic MCSymbolRefExpr::VariantKind.
Basically we ensure that @l @ha family modifiers always lead to
PPCMCExpr and avoid MCSymbolRefExpr::VariantKind. This allows us
to delete a lot of switch statements that involve a long list of VK_PPC_LO/VK_PPC_HI/...
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions