This code is dodgy, but the guaranteed assertion failure doesn't help anything.
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 24 Aug 2004 06:41:40 +0000 (06:41 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 24 Aug 2004 06:41:40 +0000 (06:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16014 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9RegInfo.cpp

index e5f4073603868ca74e39371cfaad66cfb8633127..948276b102fd1157737303e98834feec117a108d 100644 (file)
@@ -456,7 +456,7 @@ void SparcV9RegInfo::colorMethodArgs(const Function *Meth,
       //
       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.