diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2017-05-01 23:12:08 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2017-05-01 23:12:08 +0000 |
commit | 6935aefdf0fdfd2641ebb27dd3b1aa6e5e2fe4ab (patch) | |
tree | 343373de422e077249551d387193c708200f1441 /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | 8d196c88a6eaa12239a6fdb45f4d1a28be7192d4 (diff) | |
download | bcm5719-llvm-6935aefdf0fdfd2641ebb27dd3b1aa6e5e2fe4ab.tar.gz bcm5719-llvm-6935aefdf0fdfd2641ebb27dd3b1aa6e5e2fe4ab.zip |
[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
llvm-svn: 301880
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions