aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2025-03-04 22:14:04 -0800
committerFangrui Song <i@maskray.me>2025-03-04 22:14:04 -0800
commit89812985358784b16fb66928ad4da411386f4720 (patch)
tree11f9eb5933a761add5900dc75862a945c641356d /llvm/lib/CodeGen/MachineScheduler.cpp
parentefb966e9295cdee8178591ae9d81e4b76dd138db (diff)
downloadllvm-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