diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-01-26 00:09:58 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-01-26 00:09:58 +0000 |
| commit | 4a99cf04ecc8f28bc9c9ad11e0eb4ffbca2c00ff (patch) | |
| tree | 5f46931485762fe121422671a8f8e74cb4814765 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | 53509643f35d0d5e892e63ffaf981a1ba6faaf59 (diff) | |
| download | external_llvm-4a99cf04ecc8f28bc9c9ad11e0eb4ffbca2c00ff.zip external_llvm-4a99cf04ecc8f28bc9c9ad11e0eb4ffbca2c00ff.tar.gz external_llvm-4a99cf04ecc8f28bc9c9ad11e0eb4ffbca2c00ff.tar.bz2 | |
Generate DEBUG_VALUE comments on x86. The (limited)
dbg.declare's we currently generate go through both
register allocators without perturbing the results.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 09fd657..b7dbd03 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/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: { |
