summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMFastISel.cpp
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
commit3a7572ff61dbd659121b20791d67469a70e9324d (patch)
tree26d81fbbb66a34737a516113fdbccc9bbca27f70 /lib/Target/ARM/ARMFastISel.cpp
parenta974beaa1f63394a67c38c66ff0f39a759c7998f (diff)
downloadllvm-3a7572ff61dbd659121b20791d67469a70e9324d.tar.gz
llvm-3a7572ff61dbd659121b20791d67469a70e9324d.tar.bz2
llvm-3a7572ff61dbd659121b20791d67469a70e9324d.tar.xz
Add a few FIXME comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMFastISel.cpp')
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index 9bc7ef21d8..73fd2e2668 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/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);