diff options
author | Duncan Sands <baldrick@free.fr> | 2008-10-01 15:25:41 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-10-01 15:25:41 +0000 |
commit | 5d0392c6b370758750b397e254a6c6f028479969 (patch) | |
tree | e20efed1bfb1a39e5a9854393af376de2006eb48 /lib/CodeGen/LoopAligner.cpp | |
parent | 38ac062c2f4de93cd4351693f084f0c4474be02c (diff) |
Factorize code: remove variants of "strip off
pointer bitcasts and GEP's", and centralize the
logic in Value::getUnderlyingObject. The
difference with stripPointerCasts is that
stripPointerCasts only strips GEPs if all
indices are zero, while getUnderlyingObject
strips GEPs no matter what the indices are.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LoopAligner.cpp')
0 files changed, 0 insertions, 0 deletions