summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-10-17 22:54:23 +0000
committerChad Rosier <mcrosier@apple.com>2011-10-17 22:54:23 +0000
commitb522550ce579b2709b4f10f20efc01f202b23975 (patch)
tree58591da6c82c9fbb9e20bba542e98f42632d4b93 /llvm/lib/Target
parenta7107f992e20a1dc99a223e2f5a02c02f50faa07 (diff)
downloadbcm5719-llvm-b522550ce579b2709b4f10f20efc01f202b23975.tar.gz
bcm5719-llvm-b522550ce579b2709b4f10f20efc01f202b23975.zip
Add a few FIXME comments.
llvm-svn: 142299
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 9bc7ef21d8a..73fd2e26689 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/lib/Target/ARM/ARMFastISel.cpp
@@ -1743,6 +1743,7 @@ bool ARMFastISel::SelectRet(const Instruction *I) {
CCValAssign &VA = ValLocs[0];
// Don't bother handling odd stuff for now.
+ // FIXME: Should be able to handle i1, i8, and/or i16 return types.
if (VA.getLocInfo() != CCValAssign::Full)
return false;
// Only handle register returns for now.
@@ -1934,6 +1935,7 @@ bool ARMFastISel::SelectCall(const Instruction *I) {
Type *ArgTy = (*i)->getType();
MVT ArgVT;
+ // FIXME: Should be able to handle i1, i8, and/or i16 parameters.
if (!isTypeLegal(ArgTy, ArgVT))
return false;
unsigned OriginalAlignment = TD.getABITypeAlignment(ArgTy);
OpenPOWER on IntegriCloud