[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h

Evan Cheng evan.cheng at apple.com
Fri Jan 12 14:30:23 PST 2007



Changes in directory llvm/include/llvm/Target:

TargetLowering.h updated: 1.99 -> 1.100
---
Log message:

Silence a bogus compiler warning.

---
Diffs of the changes:  (+1 -0)

 TargetLowering.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.99 llvm/include/llvm/Target/TargetLowering.h:1.100
--- llvm/include/llvm/Target/TargetLowering.h:1.99	Fri Jan 12 01:05:13 2007
+++ llvm/include/llvm/Target/TargetLowering.h	Fri Jan 12 16:30:07 2007
@@ -444,6 +444,7 @@
     case Type::PointerTyID: return PointerTy;
     case Type::PackedTyID:  return MVT::Vector;
     }
+    return MVT::isVoid;  // Silence a compiler warning.
   }
 
   /// getNumElements - Return the number of registers that this ValueType will






More information about the llvm-commits mailing list