diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-04 10:49:57 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-04 10:49:57 +0000 |
commit | 1e96bab329eb23e4ce8a0dc3cc6b33a3f03d15bf (patch) | |
tree | ad253e434c4d9d97e2a1db6e3c5c73876cd212e7 /utils | |
parent | 416941d50fec5ebdc4ae3b113a0db1320c3b2a87 (diff) | |
download | external_llvm-1e96bab329eb23e4ce8a0dc3cc6b33a3f03d15bf.zip external_llvm-1e96bab329eb23e4ce8a0dc3cc6b33a3f03d15bf.tar.gz external_llvm-1e96bab329eb23e4ce8a0dc3cc6b33a3f03d15bf.tar.bz2 |
In the calling convention logic, ValVT is always a legal type,
and as such can be represented by an MVT - the more complicated
EVT is not needed. Use MVT for ValVT everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/CallingConvEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/CallingConvEmitter.cpp b/utils/TableGen/CallingConvEmitter.cpp index 7c4a472..c51afd8 100644 --- a/utils/TableGen/CallingConvEmitter.cpp +++ b/utils/TableGen/CallingConvEmitter.cpp @@ -26,7 +26,7 @@ void CallingConvEmitter::run(raw_ostream &O) { // other. for (unsigned i = 0, e = CCs.size(); i != e; ++i) { O << "static bool " << CCs[i]->getName() - << "(unsigned ValNo, EVT ValVT,\n" + << "(unsigned ValNo, MVT ValVT,\n" << std::string(CCs[i]->getName().size()+13, ' ') << "MVT LocVT, CCValAssign::LocInfo LocInfo,\n" << std::string(CCs[i]->getName().size()+13, ' ') @@ -44,7 +44,7 @@ void CallingConvEmitter::EmitCallingConv(Record *CC, raw_ostream &O) { Counter = 0; O << "\n\nstatic bool " << CC->getName() - << "(unsigned ValNo, EVT ValVT,\n" + << "(unsigned ValNo, MVT ValVT,\n" << std::string(CC->getName().size()+13, ' ') << "MVT LocVT, CCValAssign::LocInfo LocInfo,\n" << std::string(CC->getName().size()+13, ' ') |