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 /lib/CodeGen/CallingConvLower.cpp | |
parent | 416941d50fec5ebdc4ae3b113a0db1320c3b2a87 (diff) |
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 'lib/CodeGen/CallingConvLower.cpp')
-rw-r--r-- | lib/CodeGen/CallingConvLower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CallingConvLower.cpp b/lib/CodeGen/CallingConvLower.cpp index 74fdbe6458..cb3f9acdfe 100644 --- a/lib/CodeGen/CallingConvLower.cpp +++ b/lib/CodeGen/CallingConvLower.cpp @@ -34,7 +34,7 @@ CCState::CCState(CallingConv::ID CC, bool isVarArg, const TargetMachine &tm, // HandleByVal - Allocate a stack slot large enough to pass an argument by // value. The size and alignment information of the argument is encoded in its // parameter attribute. -void CCState::HandleByVal(unsigned ValNo, EVT ValVT, +void CCState::HandleByVal(unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, int MinSize, int MinAlign, ISD::ArgFlagsTy ArgFlags) { |