OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbd0a8
)
Do not drop undef debug values. These are used as range termination marker by live...
author
Devang Patel
<dpatel@apple.com>
Wed, 3 Aug 2011 23:13:55 +0000
(23:13 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 3 Aug 2011 23:13:55 +0000
(23:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136834
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index
bedc310
..
438667e
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@
-4515,7
+4515,7
@@
SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
// debug info exists.
++SDNodeOrder;
SDDbgValue *SDV;
- if (isa<ConstantInt>(V) || isa<ConstantFP>(V)) {
+ if (isa<ConstantInt>(V) || isa<ConstantFP>(V)
|| isa<UndefValue>(V)
) {
SDV = DAG.getDbgValue(Variable, V, Offset, dl, SDNodeOrder);
DAG.AddDbgValue(SDV, 0, false);
} else {