[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp

Chris Lattner clattner at apple.com
Tue Mar 6 10:37:20 PST 2007


> @@ -27,6 +27,7 @@
>  #include "llvm/CodeGen/MachineFunction.h"
>  #include "llvm/CodeGen/MachineInstrBuilder.h"
>  #include "llvm/CodeGen/SelectionDAG.h"
> +#include "llvm/CodeGen/SelectionDAGISel.h"

Please put the enum into SelectionDAGNodes.h so that SDISel.h doesn't  
need to be pulled into other code like this.

Thanks,

-Chris

>  #include "llvm/CodeGen/SSARegMap.h"
>  #include "llvm/Target/TargetOptions.h"
>  #include "llvm/ADT/VectorExtras.h"
> @@ -346,7 +347,7 @@
>    NeededGPRs = 0;
>    StackPad = 0;
>    GPRPad = 0;
> -  unsigned align = (Flags >> 27);
> +  unsigned align = (Flags >> SDISelParamFlags::OrigAlignmentOffs);
>    GPRPad = NumGPRs % ((align + 3)/4);
>    StackPad = StackOffset % align;
>    unsigned firstGPR = NumGPRs + GPRPad;
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list