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

Anton Korobeynikov asl at math.spbu.ru
Tue Mar 6 00:13:00 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMISelLowering.cpp updated: 1.17 -> 1.18
---
Log message:

Use new SDIselParamAttr enumeration. This removes "magick" constants 
from formal attributes' flags processing.


---
Diffs of the changes:  (+2 -1)

 ARMISelLowering.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMISelLowering.cpp
diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.17 llvm/lib/Target/ARM/ARMISelLowering.cpp:1.18
--- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.17	Fri Feb 23 14:32:57 2007
+++ llvm/lib/Target/ARM/ARMISelLowering.cpp	Tue Mar  6 02:12:33 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"
 #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;






More information about the llvm-commits mailing list