summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commita486f447339b3747ee647ea2eb4aace5a81fb8a0 (patch)
treec59cc75eb329c5f3fef6094ddc6eb3a6e3392724 /llvm/lib
parent78127d31f345c22ecb132ed636fe5cb8ccd422f5 (diff)
downloadbcm5719-llvm-a486f447339b3747ee647ea2eb4aace5a81fb8a0.tar.gz
bcm5719-llvm-a486f447339b3747ee647ea2eb4aace5a81fb8a0.zip
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. llvm-svn: 143079
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 72e69a049c0..a67c8671458 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud