commit | c66996ab3451a29a207e7871b0cbf984beaf941c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Mar 09 04:46:40 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Mar 09 04:46:40 2009 +0000 |
tree | 77199b3d18697e73309654473d68259420322255 | |
parent | 086c788b3987161c123c0330e39bd591d6460fc9 [diff] |
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