Remove dead code in instcombine.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 23 Apr 2014 16:48:40 +0000 (16:48 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 23 Apr 2014 16:48:40 +0000 (16:48 +0000)
commite0f15f8b7aa9e838964ded92bb81d1134358ffd6
tree55bd177ff7849cd470871bb030ae12d07f798b22
parentd5a7c3f2ecef2eb870b84fad415c906803ff5824
Remove dead code in instcombine.

Don't replace shifts greater than the type with the maximum shift.

This isn't hit anywhere in the tests, and somewhere else is replacing
these with undef.

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