SuccessChanges

Summary

  1. [tooling] Relax an assert when multiple GPU targets are specified. (details)
  2. [clang-format] fix regression recognizing casts in Obj-C calls (details)
  3. Update docs for fast-math flags. (details)
  4. [IR] Reimplement FPMathOperator::classof as a whitelist. (details)
  5. [X86] combineX86ShufflesRecursively - pull out (details)
  6. [PGO][PGSO] SizeOpts changes. (details)
  7. [OPENMP50]Add support for master taskloop simd. (details)
  8. gn build: Merge r375254 (details)
  9. [DOCS]Update list of implemented constructs, NFC. (details)
Commit 7e5d5ee873e14b7e3db0ee07fa402aca13f83a36 by michael.hliao
[tooling] Relax an assert when multiple GPU targets are specified.
llvm-svn: 375245
The file was modifiedclang/lib/Tooling/Tooling.cpp
Commit eff2a2ab2b51070133c39336c91b3f8d1c31e0c4 by krasimir
[clang-format] fix regression recognizing casts in Obj-C calls
Summary: r373922 added checks for a few tokens that, following an `)`
make it unlikely that the `)` is the closing paren of a cast expression.
The specific check for `tok::l_square` there introduced a regression for
casts of Obj-C calls, like:
```
(cast)[func arg]
``` From the tests added in r373922, I believe the `tok::l_square` case
is added to capture the case where a non-cast `)` is directly followed
by an attribute specifier, like:
``` int f(int x) [[noreturn]];
```
I've specialized the code to look for such attribute specifier instead
of `tok::l_square` in general. Also, I added a regression test and moved
the test cases added in r373922 to an already existing place documenting
other instances of historically misidentified casts.
Reviewers: MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69164
llvm-svn: 375247
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
Commit aa3806b47c74c814c9cb6f1de6a5570998b8f011 by jay.foad
Update docs for fast-math flags.
This adds fneg, phi and select to the list of operations that may use
fast-math flags.
llvm-svn: 375250
The file was modifiedllvm/docs/LangRef.rst
Commit a162817a2b7ca0d7bd285a2a3e969a3a652aad57 by jay.foad
[IR] Reimplement FPMathOperator::classof as a whitelist.
Summary: This makes it much easier to verify that the implementation
matches the documentation. It uncovered a bug in the unit tests where we
were accidentally setting fast math flags on a load instruction.
Reviewers: spatel, wristow, arsenm, hfinkel, aemerson, efriedma,
cameron.mcinally, mcberg2017, jmolloy
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69176
llvm-svn: 375252
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedllvm/unittests/IR/IRBuilderTest.cpp
Commit 696794b66eb29f12a3138a02ef647769bbf9fb38 by llvm-dev
[X86] combineX86ShufflesRecursively - pull out
isTargetShuffleVariableMask. NFCI.
llvm-svn: 375253
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 7e1637451d20d40553165f806094ada30cb0a708 by yamauchi
[PGO][PGSO] SizeOpts changes.
Summary:
(Split of off D67120)
SizeOpts/MachineSizeOpts changes for profile guided size optimization.
Reviewers: davidxl
Subscribers: mgorny, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69070
llvm-svn: 375254
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was addedllvm/lib/CodeGen/MachineSizeOpts.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was addedllvm/unittests/Transforms/Utils/SizeOptsTest.cpp
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
The file was addedllvm/include/llvm/CodeGen/MachineSizeOpts.h
The file was addedllvm/unittests/CodeGen/MachineSizeOptsTest.cpp
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
Commit b8552abfe7ce0c4cd37d136bbcf8cb319a28f260 by a.bataev
[OPENMP50]Add support for master taskloop simd.
Added  trsing/semantics/codegen for combined construct master taskloop
simd.
llvm-svn: 375255
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was addedclang/test/OpenMP/master_taskloop_simd_num_tasks_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_collapse_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_safelen_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_linear_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_messages.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_aligned_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_grainsize_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was addedclang/test/OpenMP/master_taskloop_simd_priority_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/master_taskloop_simd_ast_print.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_simdlen_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_final_messages.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/master_taskloop_simd_loop_messages.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was addedclang/test/OpenMP/master_taskloop_simd_codegen.cpp
Commit 52dc406efc717cf5aca1f5ee5600382f348969db by llvmgnsyncbot
gn build: Merge r375254
llvm-svn: 375256
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Transforms/Utils/BUILD.gn
Commit 80fe5cffd2eef46ebd19aac6d8c6f2c3f9b4290f by a.bataev
[DOCS]Update list of implemented constructs, NFC.
llvm-svn: 375257
The file was modifiedclang/docs/OpenMPSupport.rst