[llvm-commits] [llvm] r74110 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/Target/TargetLowering.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/LegalizeTypes.h lib/CodeGen/SelectionDAG/TargetLowering.cpp
Duncan Sands
baldrick at free.fr
Wed Jun 24 13:14:43 PDT 2009
Hi David,
> --- llvm/trunk/include/llvm/CodeGen/ValueTypes.h (original)
> +++ llvm/trunk/include/llvm/CodeGen/ValueTypes.h Wed Jun 24 14:41:55 2009
> @@ -1,3 +1,4 @@
> +
pointless newline!
> //===- CodeGen/ValueTypes.h - Low-Level Target independ. types --*- C++ -*-===//
> //
> // The LLVM Compiler Infrastructure
> @@ -72,6 +73,11 @@
>
> LAST_VALUETYPE = 30, // This always remains at the end of the list.
>
> + // This is the current maximum for LAST_VALUETYPE.
> + // Affects ValueTypeActions in TargetLowering.h.
> + // MVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors
> + MAX_ALLOWED_VALUETYPE = 64,
> +
Is it checked anywhere that LAST_VALUETYPE <= MAX_ALLOWED_VALUETYPE?
Ciao,
Duncan.
More information about the llvm-commits
mailing list