UnstableChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [LV] Scalar with predication must not be uniform (details)
  2. Differentiate between the presumed and actual file when dumping the AST (details)
  3. Correcting the offsets within the test to fix the bots. (details)
Commit 6ed9cef25f915d4533f261c401cee29d8d8012d5 by ayal.zaks
[LV] Scalar with predication must not be uniform
Fix PR40816: avoid considering scalar-with-predication instructions as
also uniform-after-vectorization.
Instructions identified as "scalar with predication" will be
"vectorized" using a replicating region. If such instructions are also
optimized as "uniform after vectorization", namely when only the first
of VF lanes is used, such a replicating region becomes erroneous - only
the first instance of the region can and should be formed. Fix such
cases by not considering such instructions as
"uniform after vectorization".
Differential Revision: https://reviews.llvm.org/D70298
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
Commit fa6c157ebeef55fd1e00266d1d1ad6aaa6161ef2 by aaron
Differentiate between the presumed and actual file when dumping the AST
to JSON
Currently, when dumping the AST to JSON, the presumed file is what is
included when dumping a source location. This patch changes the behavior
to instead dump the actual file, and only dump a presumed file name when
it differs from the actual file.
This also corrects an issue with the test script generator that would
prevent it from working on Windows due to file permissions issues.
The file was modifiedclang/include/clang/AST/JSONNodeDumper.h
The file was modifiedclang/lib/AST/JSONNodeDumper.cpp
The file was modifiedclang/test/AST/gen_ast_dump_json_test.py
The file was addedclang/test/AST/ast-dump-file-line-json.c
Commit 898df29c5b2ebbc4a24143e476d8e9a54569d2e5 by aaron
Correcting the offsets within the test to fix the bots.
The file was modifiedclang/test/AST/ast-dump-file-line-json.c