Fix instruction debug info location during legalization
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 13 Apr 2014 06:39:55 +0000 (06:39 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 13 Apr 2014 06:39:55 +0000 (06:39 +0000)
commitf85e6da6d0fe71b5b97584bad8183a2263cb9a95
tree0059545bf6c2172ed4b04a2d7757fd1317448493
parent4266ae806798f1e8982a53bb9babe1e508adfc68
Fix instruction debug info location during legalization

I found this from a particular GDB test suite case of inlining
(something similar is provided as a test case) but came across a few
other related cases (other callers of the same functions, and one other
instance of the same coding mistake in a separate function).

I'm not sure what the best way to test this is (let alone to cover the
other cases I discovered), so hopefully this sufficies - open to ideas.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206130 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
test/DebugInfo/X86/inline-seldag-test.ll [new file with mode: 0644]