Files
clang-p2996/llvm/lib/Target/WebAssembly/MCTargetDesc
Fangrui Song 98a640a2fa [MC] Move VariantKind info to MCAsmInfo
Follow-up to 14951a5a31

* Unify getVariantKindName and getVariantKindForName
* Allow each target to specify the preferred case (albeit ignored in MCParser)

Note: targets that use variant kinds should call MCExpr::print with a
non-null MAI to print variant kinds. operator<< passes a nullptr to
`MCExpr::print`, which should be avoided (e.g. Hexagon; fixed in
commit cf00ac81ac).
2025-03-02 20:36:20 -08:00
..