DebugInfo: Teach Fast ISel to respect the debug location of comparisons in jumps
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 29 Jan 2015 19:09:18 +0000 (19:09 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 29 Jan 2015 19:09:18 +0000 (19:09 +0000)
commit1ba26f8da16acfa9604a6374560dca0d9e714019
tree9f5542d2b2fb8fae511e6431a6d7fc72604bfc93
parent3a5a587abfa4c04aa64f14ef1f2b4a00608b4840
DebugInfo: Teach Fast ISel to respect the debug location of comparisons in jumps

The use of the DbgLoc in FastISel is probably something we should fix.
It's prone to leaking the wrong location into instructions - we should
have a clear chain of custody from the debug location of an IR
Instruction to that of a MachineInstr to avoid such leakage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227481 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp