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

llvm-svn: 16014
This commit is contained in:
Brian Gaeke 2004-08-24 06:41:40 +00:00
parent ae3378f354
commit e91606291d

View 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.