OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a974bea
)
Add a few FIXME comments.
author
Chad Rosier
<mcrosier@apple.com>
Mon, 17 Oct 2011 22:54:23 +0000
(22:54 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Mon, 17 Oct 2011 22:54:23 +0000
(22:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142299
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index
9bc7ef2
..
73fd2e2
100644
(file)
--- 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);