llvm-project
89812985 - Move PowerPC-specific absolute MCSymbolRefExpr::VariantKind to PPCMCExpr

Commit
246 days ago
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/...
Author
Parents
Loading