commit | 8bd46914df1d67a762df842e21f4f0045c6ec830 | [log] [tgz] |
---|---|---|
author | George Burgess IV <george.burgess.iv@gmail.com> | Mon May 01 23:12:08 2017 +0000 |
committer | George Burgess IV <george.burgess.iv@gmail.com> | Mon May 01 23:12:08 2017 +0000 |
tree | 73e8361564c13139f01997ee1a3f57d5f0170dd6 | |
parent | cf6b7526dc34708288eeba5024af0d07a87ba67a [diff] |
[InstSimplify] Handle selects of GEPs with 0 offset In particular (since it wouldn't fit nicely in the summary): (select (icmp eq V 0) P (getelementptr P V)) -> (getelementptr P V) Differential Revision: https://reviews.llvm.org/D31435 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301880 91177308-0d34-0410-b5e6-96231b3b80d8