[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Mon Aug 23 23:41:52 PDT 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9RegInfo.cpp updated: 1.137 -> 1.138
---
Log message:

This code is dodgy, but the guaranteed assertion failure doesn't help anything.


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

Index: llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.137 llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.138
--- llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp:1.137	Wed Aug 18 13:13:34 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegInfo.cpp	Tue Aug 24 01:41:40 2004
@@ -456,7 +456,7 @@
       //
       if( isArgInReg ) {
 	if( regClassIDOfArgReg != RegClassID ) {
-          assert(0 && "This could should work but it is not tested yet");
+	  // NOTE: This code has not been well-tested.
           
 	  // It is a variable argument call: the float reg must go in a %o reg.
 	  // We have to move an int reg to a float reg via memory.






More information about the llvm-commits mailing list