mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
643fffe429
commit
cc87bfb59b
@ -604,9 +604,10 @@ InstrEmitter::EmitDbgValue(SDDbgValue *SD,
|
||||
} else if (SD->getKind() == SDDbgValue::CONST) {
|
||||
const Value *V = SD->getConst();
|
||||
if (const ConstantInt *CI = dyn_cast<ConstantInt>(V)) {
|
||||
// FIXME: SDDbgValues aren't updated with legalization, so it's possible
|
||||
// to have i128 values in them at this point. As a crude workaround, just
|
||||
// drop the debug info if this happens.
|
||||
// FIXME: SDDbgValue constants aren't updated with legalization, so it's
|
||||
// possible to have i128 constants in them at this point. Dwarf writer
|
||||
// does not handle i128 constants at the moment so, as a crude workaround,
|
||||
// just drop the debug info if this happens.
|
||||
if (!CI->getValue().isSignedIntN(64))
|
||||
MIB.addReg(0U);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user