mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Store just the SimpleValueType in the generated VT tables for each register class, eliminating static ctors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -521,7 +521,7 @@ RegisterInfoEmitter::runTargetDesc(raw_ostream &OS, CodeGenTarget &Target,
|
||||
// Emit the register list now.
|
||||
OS << " // " << Name
|
||||
<< " Register Class Value Types...\n"
|
||||
<< " static const EVT " << Name
|
||||
<< " static const MVT::SimpleValueType " << Name
|
||||
<< "[] = {\n ";
|
||||
for (unsigned i = 0, e = RC.VTs.size(); i != e; ++i)
|
||||
OS << getEnumName(RC.VTs[i]) << ", ";
|
||||
|
Reference in New Issue
Block a user