diff options
author | Fangrui Song <i@maskray.me> | 2025-03-02 20:36:20 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-03-02 20:36:20 -0800 |
commit | 98a640a2faf4d5557e3a949dd87a01ba900745d6 (patch) | |
tree | 94b99f4749f395680af47e23c0040e54a8f9cb9a /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | e6aae2a4905982c10412e7f35b4f3c940a1a86f5 (diff) | |
download | llvm-98a640a2faf4d5557e3a949dd87a01ba900745d6.zip llvm-98a640a2faf4d5557e3a949dd87a01ba900745d6.tar.gz llvm-98a640a2faf4d5557e3a949dd87a01ba900745d6.tar.bz2 |
[MC] Move VariantKind info to MCAsmInfo
Follow-up to 14951a5a3120e50084b3c5fb217e2d47992a24d1
* 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 cf00ac81ac049cddb80aec1d6d88b8fab4f209e8).
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions