Add a TODO comment. FastISel works by parsing each basic block from the bottom
authorChad Rosier <mcrosier@apple.com>
Wed, 26 Oct 2011 23:34:37 +0000 (23:34 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 26 Oct 2011 23:34:37 +0000 (23:34 +0000)
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

lib/Target/ARM/ARMFastISel.cpp

index 72e69a049c0b32f0cc82f83fad1bff4305e85f3f..a67c8671458e1ae070b07b41b0acac3d990ad013 100644 (file)
@@ -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: