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)
commit2600c28f9cecc07976b85628bb555b9da62ed2b2
tree248b7fe52eddcd4df64cb1d0802c60396f5dc3db
parentf32a1acee89983cf992aba8b1ce3775f4b0bba94
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.

llvm-svn: 227481
llvm/lib/Target/X86/X86FastISel.cpp