Files
archived-llvm/test/Transforms/SimplifyCFG
Mikael Holmen dd0ef7d32c Bail out of a SimplifyCFG switch table opt at undef values.
Summary:
A true or false result is expected from a comparison, but it seems the possibility of undef was overlooked, which could lead to a failed assert. This is fixed by this patch by bailing out if we encounter undef.

The bug is old and the assert has been there since the end of 2014, so it seems this is unusual enough to forego optimization.

Patch by JesperAntonsson.

Reviewers: spatel, eeckstein, hans

Reviewed By: hans

Subscribers: uabelho, llvm-commits

Differential Revision: https://reviews.llvm.org/D40639

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319768 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-05 14:14:00 +00:00
..
2017-08-07 18:30:35 +00:00
2016-03-28 22:12:21 +00:00
2015-02-13 11:08:40 +00:00
2016-03-28 22:12:21 +00:00
2016-03-28 22:12:21 +00:00
2016-09-16 02:43:36 +00:00