Re: [PATCH v2 3/8] tree-ifcvt: Enforce zero else value after maskload.

2024-10-22 Thread Richard Biener
On Fri, 18 Oct 2024, Robin Dapp wrote: > 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. >

[PATCH v2 3/8] tree-ifcvt: Enforce zero else value after maskload.

2024-10-18 Thread Robin Dapp
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. In order to formalize this this patch queries th