[llvm-commits] [llvm] r164934 - in /llvm/trunk: lib/Transforms/Utils/SimplifyCFG.cpp test/Transforms/SimplifyCFG/switch_to_lookup_table.ll

Hans Wennborg hans at chromium.org
Wed Oct 3 03:41:03 PDT 2012


On Mon, Oct 1, 2012 at 12:31 PM, Benjamin Kramer
<benny.kra at googlemail.com> wrote:
> Author: d0k
> Date: Mon Oct  1 06:31:48 2012
> New Revision: 164934
>
> URL: http://llvm.org/viewvc/llvm-project?rev=164934&view=rev
> Log:
> SimplifyCFG: Don't crash when forming a switch bitmap with an undef default value.
>
> Fixes PR13985.

Thanks for fixing!

Could there be other cases where a Constant with Integer type does not
turn out to be a ConstantInt?

 - Hans



More information about the llvm-commits mailing list