[PATCH] D66796: [clang] Loop pragma vectorize(disable)

Sjoerd Meijer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 14:48:16 PDT 2019


SjoerdMeijer added a comment.

Hi Hideki,

I think you're comments are spot on:

> It all depends on to whom we are providing these pragmas.

Pragma's are user-facing "options" to override or force  compiler decision making. I don't think there's another way to look at it, but please correct me if I'm wrong.

That's exactly the reason why I think `vectorize(disable)` should disable vectorisation for that loop. I just don't see what else a user would expect.


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

https://reviews.llvm.org/D66796





More information about the cfe-commits mailing list