diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2015-02-18 03:30:11 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2015-02-18 03:30:11 +0000 |
| commit | 1defd5afbd4f86ba3dcfb564002eb3cf964efa3b (patch) | |
| tree | 553db21a6eec5bcf136daf4cc902bdd20a1a5efb /llvm/test/Transforms/LoopUnswitch/infinite-loop.ll | |
| parent | 4393559621a3b2784086ba4d30be635426d2da31 (diff) | |
| download | bcm5719-llvm-1defd5afbd4f86ba3dcfb564002eb3cf964efa3b.tar.gz bcm5719-llvm-1defd5afbd4f86ba3dcfb564002eb3cf964efa3b.zip | |
[InstCombine] Do not insert a GEP instruction before a landingpad instruction.
InstCombiner::visitGetElementPtrInst was using getFirstNonPHI to compute the
insertion point, which caused the verifier to complain when a GEP was inserted
before a landingpad instruction. This commit fixes it to use getFirstInsertionPt
instead.
rdar://problem/19394964
llvm-svn: 229619
Diffstat (limited to 'llvm/test/Transforms/LoopUnswitch/infinite-loop.ll')
0 files changed, 0 insertions, 0 deletions

