Masked vector intrinsics are a part of common LLVM IR, but they are really supported on AVX2 and AVX-512 targets. I added a code that translates masked intrinsic for all other targets. The masked vector intrinsic is converted to a chain of scalar operations inside conditional basic blocks.
See more comments and code examples inside.
Details
Details
- Reviewers
anemet nadav aschwaighofer jmolloy hfinkel
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Since vectorizer is re-committed, I'd like to proceed with the scalarizer.
Do you have any comments on this patch?
Thank you.
- Elena
We already have a ModifiedDT variable, can we reuse that?
Regardless, you need to set ModifiedDT to true (or update the DT manually) because CGP preserves the dominator tree.