diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-04-18 00:36:40 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-04-18 00:36:40 +0000 |
| commit | aea15131dbaeae56ab2b084a25f4e184dcfeede3 (patch) | |
| tree | a4c83a36d981d9b8515b378a9c37cf24f846b09b /llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp | |
| parent | 37a9269cc75a03665ab78eeff4cead1509e1770d (diff) | |
| download | bcm5719-llvm-aea15131dbaeae56ab2b084a25f4e184dcfeede3.tar.gz bcm5719-llvm-aea15131dbaeae56ab2b084a25f4e184dcfeede3.zip | |
[InstCombine] peek through bitcasted vector/array pointer GEP operand
The bitcast may be interfering with other combines or vectorization
as shown in PR16739:
https://bugs.llvm.org/show_bug.cgi?id=16739
Most pointer-related optimizations are probably able to look through
this bitcast, but removing the bitcast shrinks the IR, so it's at
least a size savings.
Differential Revision: https://reviews.llvm.org/D44833
llvm-svn: 330237
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp')
0 files changed, 0 insertions, 0 deletions

