Go to file
Chris Lattner 6090a42fe5 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
              ^

llvm-svn: 66393
2009-03-09 04:46:40 +00:00
clang Code refactoring. No functional change. 2009-03-08 20:18:37 +00:00
llvm Fix PR3746 - Crash in isel with GEP of function pointer 2009-03-09 04:46:40 +00:00