summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-07-07 18:18:18 +0000
committerDevang Patel <dpatel@apple.com>2010-07-07 18:18:18 +0000
commit637ee5f1494f36ed58b8eb70219f1c9aeec746fa (patch)
treef6c3b216cfc274fdb0e1b4e83acb3cbf1cf08cf5 /llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
parent769201448d5fa19173df09c9c8508176b79498f4 (diff)
downloadbcm5719-llvm-637ee5f1494f36ed58b8eb70219f1c9aeec746fa.tar.gz
bcm5719-llvm-637ee5f1494f36ed58b8eb70219f1c9aeec746fa.zip
Update comment.
llvm-svn: 107796
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
index 935679a1133..f36620c3edf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
@@ -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
OpenPOWER on IntegriCloud