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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-08-24 06:41:40 +00:00
parent f1b7eb145e
commit 2ff1e67346

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.