commit | d9f32c20da9de8798284a8007662c6557560c876 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Feb 01 15:21:10 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Feb 01 15:21:10 2013 +0000 |
tree | 00e23e5da8922f3752751496b90f44a2865750e9 | |
parent | 84d3239889c576029382c3165495e0c78b14e9eb [diff] |
InstSimplify: stripAndComputeConstantOffsets can be called with vectors of pointers too. Prepare it for vectors of pointers and handle simple cases. We don't handle complicated cases because accumulateConstantOffset bails on pointer vectors. Fixes selfhost on i386. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174179 91177308-0d34-0410-b5e6-96231b3b80d8