diff options
author | Ayal Zaks <ayal.zaks@intel.com> | 2017-07-31 13:21:42 +0000 |
---|---|---|
committer | Ayal Zaks <ayal.zaks@intel.com> | 2017-07-31 13:21:42 +0000 |
commit | e841b214b15bcc6044ffbe61f60b78b6a7c64492 (patch) | |
tree | 12ce2c29244183308707e5b7c36c358e06df95e0 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 058fdd3d49c6d6640afee628bcf34bebb9738ca1 (diff) | |
download | bcm5719-llvm-e841b214b15bcc6044ffbe61f60b78b6a7c64492.tar.gz bcm5719-llvm-e841b214b15bcc6044ffbe61f60b78b6a7c64492.zip |
[LV] Avoid redundant operations manipulating masks
The Loop Vectorizer generates redundant operations when manipulating masks:
AND with true, OR with false, compare equal to true. Instead of relying on
a subsequent pass to clean them up, this patch avoids generating them.
Use null (no-mask) to represent all-one full masks, instead of a constant
all-one vector, following the convention of masked gathers and scatters.
Preparing for a follow-up VPlan patch in which these mask manipulating
operations are modeled using recipes.
Differential Revision: https://reviews.llvm.org/D35725
llvm-svn: 309558
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions