[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h TargetLowering.h

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 22 08:24:05 PST 2006



Changes in directory llvm/include/llvm/Target:

MRegisterInfo.h updated: 1.69 -> 1.70
TargetLowering.h updated: 1.53 -> 1.54
---
Log message:

Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean.

Patch by Martin Partel!



---
Diffs of the changes:  (+5 -5)

 MRegisterInfo.h  |    2 +-
 TargetLowering.h |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/Target/MRegisterInfo.h
diff -u llvm/include/llvm/Target/MRegisterInfo.h:1.69 llvm/include/llvm/Target/MRegisterInfo.h:1.70
--- llvm/include/llvm/Target/MRegisterInfo.h:1.69	Tue Feb 21 17:51:58 2006
+++ llvm/include/llvm/Target/MRegisterInfo.h	Wed Feb 22 10:23:43 2006
@@ -169,7 +169,7 @@
     /// namespace.  This must be the same for all targets, which means that each
     /// target is limited to 1024 registers.
     ///
-    FirstVirtualRegister = 1024,
+    FirstVirtualRegister = 1024
   };
 
   /// isPhysicalRegister - Return true if the specified register number is in


Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.53 llvm/include/llvm/Target/TargetLowering.h:1.54
--- llvm/include/llvm/Target/TargetLowering.h:1.53	Tue Feb 21 18:56:01 2006
+++ llvm/include/llvm/Target/TargetLowering.h	Wed Feb 22 10:23:43 2006
@@ -56,24 +56,24 @@
     Legal,      // The target natively supports this operation.
     Promote,    // This operation should be executed in a larger type.
     Expand,     // Try to expand this to other ops, otherwise use a libcall.
-    Custom,     // Use the LowerOperation hook to implement custom lowering.
+    Custom      // Use the LowerOperation hook to implement custom lowering.
   };
 
   enum OutOfRangeShiftAmount {
     Undefined,  // Oversized shift amounts are undefined (default).
     Mask,       // Shift amounts are auto masked (anded) to value size.
-    Extend,     // Oversized shift pulls in zeros or sign bits.
+    Extend      // Oversized shift pulls in zeros or sign bits.
   };
 
   enum SetCCResultValue {
     UndefinedSetCCResult,          // SetCC returns a garbage/unknown extend.
     ZeroOrOneSetCCResult,          // SetCC returns a zero extended result.
-    ZeroOrNegativeOneSetCCResult,  // SetCC returns a sign extended result.
+    ZeroOrNegativeOneSetCCResult   // SetCC returns a sign extended result.
   };
 
   enum SchedPreference {
     SchedulingForLatency,          // Scheduling for shortest total latency.
-    SchedulingForRegPressure,      // Scheduling for lowest register pressure.
+    SchedulingForRegPressure       // Scheduling for lowest register pressure.
   };
 
   TargetLowering(TargetMachine &TM);






More information about the llvm-commits mailing list