[PATCH] D15250: Detecte vector reduction operations just before instruction selection.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 22:21:13 PST 2016


congh added a comment.

In http://reviews.llvm.org/D15250#336665, @hfinkel wrote:

> Please make sure the select case if handled (autovectorization test case provided below); otherwise, LGTM. Thanks!


Sorry for replying your comments so late as I just finished a long vacation. In your proposed case, the definitions of reduction operations are never used by the select instruction, making the select instruction not an obstacle when detecting reduction operations (note that we only care how the definition of each reduction operation is used in the def-use chain).


http://reviews.llvm.org/D15250





More information about the llvm-commits mailing list