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
This commit is contained in:
Duncan Sands
2010-11-04 10:49:57 +00:00
parent 416941d50f
commit 1e96bab329
9 changed files with 33 additions and 33 deletions

View File

@@ -1567,7 +1567,7 @@ bool ARMFastISel::SelectRet(const Instruction *I) {
return false;
// TODO: For now, don't try to handle cases where getLocInfo()
// says Full but the types don't match.
if (VA.getValVT() != TLI.getValueType(RV->getType()))
if (TLI.getValueType(RV->getType()) != VA.getValVT())
return false;
// Make the copy.