Chris Lattner c66996ab34 Fix PR3746 - Crash in isel with GEP of function pointer
by checking that the top-level type of a gep is sized. This
causes us to reject the example with:

llvm-as: t2.ll:2:16: invalid getelementptr indices
getelementptr i32()* null, i32 1
              ^



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66393 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-09 04:46:40 +00:00
..
2009-03-08 04:06:26 +00:00
2008-12-19 18:39:45 +00:00
2009-01-15 20:18:42 +00:00
2009-01-05 17:19:25 +00:00