diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-20 15:07:47 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-20 15:07:47 +0000 |
commit | 9bb40853eeef1d11b626bdc58e00121e35187866 (patch) | |
tree | c931d63cf2be794176c990be0d6fa7fbbb98956e /lib/Analysis/DIBuilder.cpp | |
parent | d2348639e639573a7708de9ea98dc55bade048a6 (diff) |
InstCombine: When comparing two GEPs that were derived from the same base pointer but use different types, expand the offset calculation and to the compare on the offset if profitable.
This came up in SmallVector code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions