summaryrefslogtreecommitdiff
path: root/lib/Target
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-10-26 23:34:37 +0000
committerChad Rosier <mcrosier@apple.com>2011-10-26 23:34:37 +0000
commit8ff2664f2f3f4f5dbd847f94352ffc8b4e1b85e3 (patch)
treea5d66ec40d1b6978a49170689214e460ad1a90c8 /lib/Target
parentade620065d1ad591e0f3d39d40cc241f49cf0a99 (diff)
downloadllvm-8ff2664f2f3f4f5dbd847f94352ffc8b4e1b85e3.tar.gz
llvm-8ff2664f2f3f4f5dbd847f94352ffc8b4e1b85e3.tar.bz2
llvm-8ff2664f2f3f4f5dbd847f94352ffc8b4e1b85e3.tar.xz
Add a TODO comment. FastISel works by parsing each basic block from the bottom
up. Thus, improving the support for compares is goodness because it increases the number of terminator instructions we can handle. This creates many more opportunities for target specific fast-isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index 72e69a049c..a67c867145 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/lib/Target/ARM/ARMFastISel.cpp
@@ -1193,6 +1193,7 @@ bool ARMFastISel::ARMEmitCmp(const Value *Src1Value, const Value *Src2Value) {
unsigned CmpOpc;
switch (VT.SimpleTy) {
+ // TODO: Add support for non-legal types (i.e., i1, i8, i16).
default: return false;
// TODO: Verify compares.
case MVT::f32: