> @@ -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@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits