diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-01-18 23:34:55 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-01-18 23:34:55 +0000 |
| commit | 0c90d43b7082d6464fe70142d92dfdb71622fa63 (patch) | |
| tree | 7248c12d118d8450c59648f648bbe4875a62a9e9 /llvm/lib/CodeGen/SelectionDAG | |
| parent | ddf6a57f3e49f3c48d8ab5282cbdddc6bc83b276 (diff) | |
| download | bcm5719-llvm-0c90d43b7082d6464fe70142d92dfdb71622fa63.tar.gz bcm5719-llvm-0c90d43b7082d6464fe70142d92dfdb71622fa63.zip | |
Enable code to emit dbg.declare as DEBUG_VALUE
comments (fast isel, X86). This doesn't seem
to break any functionality, but will introduce
cases where -g affects the generated code. I'll
be fixing that.
llvm-svn: 93811
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 09fd657fffd..b7dbd03fc3a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -343,6 +343,9 @@ bool FastISel::SelectCall(User *I) { if (MDNode *Dbg = DI->getMetadata("dbg")) MMI->setVariableDbgInfo(DI->getVariable(), FI, Dbg); } + // Building the map above is target independent. Generating DEBUG_VALUE + // inline is target dependent; do this now. + (void)TargetSelectInstruction(cast<Instruction>(I)); return true; } case Intrinsic::eh_exception: { |

