Make the demanded bits/elements optimizations preserve debug line information.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 19 May 2011 01:20:42 +0000 (01:20 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 19 May 2011 01:20:42 +0000 (01:20 +0000)
commit6fd5a6000bb6d23d6e41f6a8b8d07ad3cca3ea76
treef14bb422ceda32c50885d7ce1523da45ce5f9323
parentc0ceedb6f885b1cbd3d3cea02f695afe393dfd2c
Make the demanded bits/elements optimizations preserve debug line information.

I'm not sure this is quite ideal, but I can't really think of any better way to do it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp