diff options
author | Philip Reames <listmail@philipreames.com> | 2019-09-12 16:49:10 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-09-12 16:49:10 +0000 |
commit | b90f94f42e3286017066e13c89cd57be9743a0cd (patch) | |
tree | 0e0bf23e8742d7e26f646ba4f404d9c8b44e864d /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 2ad25a4aeeae6e070c9cb56cc15e82ba6e2231af (diff) | |
download | llvm-b90f94f42e3286017066e13c89cd57be9743a0cd.zip llvm-b90f94f42e3286017066e13c89cd57be9743a0cd.tar.gz llvm-b90f94f42e3286017066e13c89cd57be9743a0cd.tar.bz2 |
[LV] Support invariant addresses in speculation logic
Implement a TODO from rL371452, and handle loop invariant addresses in predicated blocks. If we can prove that the load is safe to speculate into the header, then we can avoid using a masked.load in favour of a normal load.
This is mostly about vectorization robustness. In the common case, it's generally expected that LICM/LoadStorePromotion would have eliminated such loads entirely.
Differential Revision: https://reviews.llvm.org/D67372
llvm-svn: 371745
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions