Files
llvm-6502/include/llvm/IR
Hans Wennborg aa43f964b2 Merging r229352:
------------------------------------------------------------------------
r229352 | majnemer | 2015-02-15 20:02:09 -0800 (Sun, 15 Feb 2015) | 8 lines

IR: Properly return nullptr when getAggregateElement is out-of-bounds

We didn't properly handle the out-of-bounds case for
ConstantAggregateZero and UndefValue.  This would manifest as a crash
when the constant folder was asked to fold a load of a constant global
whose struct type has no operands.

This fixes PR22595.
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@229588 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-17 23:40:20 +00:00
..
2015-01-13 03:46:47 +00:00
…
2015-02-17 23:40:20 +00:00
2015-01-15 04:04:08 +00:00
2014-12-03 02:08:38 +00:00
2014-11-05 01:36:22 +00:00
2014-11-11 21:30:22 +00:00
2014-12-09 18:38:53 +00:00
2015-01-06 23:00:37 +00:00
2015-01-28 17:39:35 +00:00
…
2014-12-09 18:38:53 +00:00
2015-01-13 20:44:56 +00:00
2015-02-09 03:35:35 +00:00
2014-11-24 20:44:36 +00:00
2014-12-09 18:38:53 +00:00
…