[all-commits] [llvm/llvm-project] 6d424a: Revert "Recommit "[Clang] Pragma vectorize_width()...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Oct 24 16:41:57 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d424a161bf3e52730371da0b9439ed93a8ce406
      https://github.com/llvm/llvm-project/commit/6d424a161bf3e52730371da0b9439ed93a8ce406
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M clang/lib/CodeGen/CGLoopInfo.cpp
    M clang/test/CodeGenCXX/pragma-loop-predicate.cpp
    M clang/test/CodeGenCXX/pragma-loop.cpp

  Log Message:
  -----------
  Revert "Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)""

This reverts commit 80371c74ae63d2f260bcc75408be9c6f81e38465.

Given the following source:
```
void a() {
  for (;;)
    ;
}
```

It incorrectly enables vectorization (with vector width 1), as well as generating a warning that vectorization could not be performed.




More information about the All-commits mailing list