diff options
author | Robin Dapp <rdapp@ventanamicro.com> | 2024-08-08 12:54:36 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@ventanamicro.com> | 2024-11-18 11:48:41 +0100 |
commit | 6b6bd53619fd11bab3def8dee737711a7ee539ea (patch) | |
tree | 7633bfa749a80103fcb0cc4d1460e75b75caf5f4 /gcc/tree-vectorizer.h | |
parent | 8f68d9cb7897df188f7dcd733d8c385f77fd8011 (diff) | |
download | gcc-6b6bd53619fd11bab3def8dee737711a7ee539ea.zip gcc-6b6bd53619fd11bab3def8dee737711a7ee539ea.tar.gz gcc-6b6bd53619fd11bab3def8dee737711a7ee539ea.tar.bz2 |
tree-ifcvt: Add zero maskload else value.
When predicating a load we implicitly assume that the else value is
zero. This matters in case the loaded value is padded (like e.g.
a Bool) and we must ensure that the padding bytes are zero on targets
that don't implicitly zero inactive elements.
A former version of this patch still had this handling in ifcvt but
the latest version defers it to the vectorizer.
gcc/ChangeLog:
* tree-if-conv.cc (predicate_load_or_store): Add zero else
operand and comment.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions