[llvm-commits] [llvm] r133106 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h include/llvm/CodeGen/ValueTypes.td lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h utils/TableGen/CodeGenTarget.cpp

Duncan Sands baldrick at free.fr
Thu Jun 16 01:45:09 PDT 2011


Hi Owen,

> --- llvm/trunk/include/llvm/CodeGen/ValueTypes.h (original)
> +++ llvm/trunk/include/llvm/CodeGen/ValueTypes.h Wed Jun 15 18:35:18 2011
> @@ -83,7 +83,11 @@
>
>         isVoid         =  35,   // This has no value
>
> -      LAST_VALUETYPE =  36,   // This always remains at the end of the list.
> +      untyped        = 36,    // This value takes a register, but has

looks like you should have two spaces after the = rather than one.

> --- llvm/trunk/include/llvm/CodeGen/ValueTypes.td (original)
> +++ llvm/trunk/include/llvm/CodeGen/ValueTypes.td Wed Jun 15 18:35:18 2011
> @@ -58,6 +58,7 @@
>   def x86mmx : ValueType<64 , 33>;   // X86 MMX value
>   def FlagVT : ValueType<0  , 34>;   // Pre-RA sched glue
>   def isVoid : ValueType<0  , 35>;   // Produces no value
> +def untyped : ValueType<8,36>;   // Produces an untyped value

Here too formatting does not match the other entries.

> --- llvm/trunk/utils/TableGen/CodeGenTarget.cpp (original)
> +++ llvm/trunk/utils/TableGen/CodeGenTarget.cpp Wed Jun 15 18:35:18 2011
> @@ -90,6 +90,7 @@
>     case MVT::Metadata: return "MVT::Metadata";
>     case MVT::iPTR:     return "MVT::iPTR";
>     case MVT::iPTRAny:  return "MVT::iPTRAny";
> +  case MVT::untyped: return "MVT::untyped";

Likewise.

Ciao, Duncan.



More information about the llvm-commits mailing list