[llvm-commits] [llvm] r81115 - in /llvm/trunk/lib: CodeGen/RegAllocPBQP.cpp CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp CodeGen/SelectionDAG/SelectionDAGBuild.cpp CodeGen/StackSlotColoring.cpp Support/regengine.inc System/Unix/Program.inc Target/

Daniel Dunbar daniel at zuster.org
Sun Sep 6 21:37:09 PDT 2009


On Sun, Sep 6, 2009 at 5:41 AM, Duncan Sands<baldrick at free.fr> wrote:
> --- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
> +++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Sep  6 07:41:19 2009
> @@ -5198,10 +5198,9 @@
>   DebugLoc dl = Op.getDebugLoc();
>   EVT VT = Op.getValueType();
>   EVT EltVT = VT;
> -  unsigned EltNum = 1;
>   if (VT.isVector()) {
>     EltVT = VT.getVectorElementType();
> -    EltNum = VT.getVectorNumElements();
> +    VT.getVectorNumElements();

This call is dead.

 - Daniel




More information about the llvm-commits mailing list