David Majnemer 4a9d304d9d InstCombine: Don't assume DataLayout is always available
We tried to get the result of DataLayout::getLargestLegalIntTypeSize but
we didn't have a DataLayout.  This resulted in opt crashing.

This fixes PR21651.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222645 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-24 07:26:20 +00:00
..
2014-11-06 15:05:51 +00:00
2014-10-16 20:00:02 +00:00
2014-11-17 23:28:21 +00:00
2014-11-11 21:08:02 +00:00