diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-03 11:35:31 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-03 11:35:31 +0000 |
commit | f5dda01f3385cfa4a510b490397a37548c12838f (patch) | |
tree | 01804c4afa101ec49ef9b2fe51ad719cfc85eeae /llvm/lib/Target/XCore/XCoreISelLowering.cpp | |
parent | 0806da8f28db297741439784a3d2643f2caf951f (diff) | |
download | bcm5719-llvm-f5dda01f3385cfa4a510b490397a37548c12838f.tar.gz bcm5719-llvm-f5dda01f3385cfa4a510b490397a37548c12838f.zip |
Inside the calling convention logic LocVT is always a simple
value type, so there is no point in passing it around using
an EVT. Use the simpler MVT everywhere. Rather than trying
to propagate this information maximally in all the code that
using the calling convention stuff, I chose to do a mainly
low impact change instead.
llvm-svn: 118167
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp index df9720cb0f4..9325e1f91a7 100644 --- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp +++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp @@ -1065,7 +1065,7 @@ XCoreTargetLowering::LowerCCCArguments(SDValue Chain, unsigned ObjSize = VA.getLocVT().getSizeInBits()/8; if (ObjSize > StackSlotSize) { errs() << "LowerFormalArguments Unhandled argument type: " - << (unsigned)VA.getLocVT().getSimpleVT().SimpleTy + << EVT(VA.getLocVT()).getEVTString() << "\n"; } // Create the frame index object for this incoming parameter... |