If the min/max horizontal reduction is found, compare operands of the
SelectInst are considered as instruction that externally use reduction
values. But they must be ignored and their operands must be replaced by
UndefValues.
Also, patch fixes propagation of IR flags. Vectorized compare
instructions did not inherit IR flags from the scalar instructions.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 10145 Build 10145: arc lint + arc unit