]> granicus.if.org Git - llvm/commit
Recommit r233116 better: Remove a redundant instcombine involving bitcasts of geps...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Mar 2015 20:13:55 +0000 (20:13 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Mar 2015 20:13:55 +0000 (20:13 +0000)
commit685212e39a1fdb37be164fd8b8e7152cc64e6fb8
tree0b912939bf5774ca0cb9d203232e2d676e968650
parent920bbddfe0e9e9af2cacb83073f2dd3b9dabead7
Recommit r233116 better: Remove a redundant instcombine involving bitcasts of geps of bitcasts

This just didn't need to be here at all, but the assertion I tried to
add wasn't appropriate either - the circumstance isn't impossible, it's
just not important to deal with it here - the gep-rooted version of this
instcombine will handle this case, we don't need to duplicate it for the
case where the gep happens to be used in a bitcast.

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