summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CallingConvLower.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-04 10:49:57 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-04 10:49:57 +0000
commit71049f78edb8bff7854e8cefebd13d2afc3dd262 (patch)
tree494bf60b3f43d14b1e652e21cfb0d0a75d9c28fd /llvm/lib/CodeGen/CallingConvLower.cpp
parent504d3f51ff3139f621692112656c8b3ec411b1a7 (diff)
downloadbcm5719-llvm-71049f78edb8bff7854e8cefebd13d2afc3dd262.tar.gz
bcm5719-llvm-71049f78edb8bff7854e8cefebd13d2afc3dd262.zip
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. llvm-svn: 118245
Diffstat (limited to 'llvm/lib/CodeGen/CallingConvLower.cpp')
-rw-r--r--llvm/lib/CodeGen/CallingConvLower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CallingConvLower.cpp b/llvm/lib/CodeGen/CallingConvLower.cpp
index 74fdbe6458b..cb3f9acdfe7 100644
--- a/llvm/lib/CodeGen/CallingConvLower.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud