Changes in directory llvm/include/llvm/CodeGen:
ValueTypes.h updated: 1.33 -> 1.34 --- Log message: add a way to make this less brittle --- Diffs of the changes: (+3 -2) ValueTypes.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/include/llvm/CodeGen/ValueTypes.h diff -u llvm/include/llvm/CodeGen/ValueTypes.h:1.33 llvm/include/llvm/CodeGen/ValueTypes.h:1.34 --- llvm/include/llvm/CodeGen/ValueTypes.h:1.33 Mon Apr 23 17:50:40 2007 +++ llvm/include/llvm/CodeGen/ValueTypes.h Sat Apr 28 00:38:52 2007 @@ -205,8 +205,9 @@ /// MVT::getValueType - Return the value type corresponding to the specified /// type. This returns all vectors as MVT::Vector and all pointers as - /// MVT::iPTR. - ValueType getValueType(const Type *Ty); + /// MVT::iPTR. If HandleUnknown is true, unknown types are returned as Other, + /// otherwise they are invalid. + ValueType getValueType(const Type *Ty, bool HandleUnknown = false); } } // End llvm namespace _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits