fhahn added a comment.

> This ensures that the Clang loop pragma vectorize_predicate([enable|disable]) 
> is ignored
> when vectorize_width(1) is also used, since that effectively disables 
> vectorization.

Could you elaborate *why* it `vectorize_predicate` should be ignored when 
`vectorize_width(1)`? In general, I do not think that Clang silently ignoring 
the pragma is great for the user experience. If we can detect cases where we 
know the pragma will be ignored, could we at least warn the user?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94779/new/

https://reviews.llvm.org/D94779

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to