SuccessChanges

Summary

  1. Update docs for fast-math flags. (details)
  2. [IR] Reimplement FPMathOperator::classof as a whitelist. (details)
  3. [X86] combineX86ShufflesRecursively - pull out (details)
  4. [PGO][PGSO] SizeOpts changes. (details)
  5. [OPENMP50]Add support for master taskloop simd. (details)
  6. gn build: Merge r375254 (details)
  7. [DOCS]Update list of implemented constructs, NFC. (details)
  8. [Format] Add format check for throwing negative numbers (details)
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/unittests/IR/IRBuilderTest.cpp
The file was modifiedllvm/include/llvm/IR/Operator.h
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 addedllvm/include/llvm/CodeGen/MachineSizeOpts.h
The file was modifiedllvm/include/llvm/Transforms/Utils/SizeOpts.h
The file was modifiedllvm/unittests/CodeGen/CMakeLists.txt
The file was addedllvm/unittests/CodeGen/MachineSizeOptsTest.cpp
The file was modifiedllvm/lib/CodeGen/MachineLoopInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineLoopInfo.h
The file was modifiedllvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
The file was addedllvm/unittests/Transforms/Utils/SizeOptsTest.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
The file was modifiedllvm/lib/CodeGen/MachineDominators.cpp
The file was modifiedllvm/unittests/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/include/llvm/CodeGen/MachineDominators.h
The file was addedllvm/lib/CodeGen/MachineSizeOpts.cpp
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Utils/SizeOpts.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/Parse/ParseOpenMP.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was addedclang/test/OpenMP/master_taskloop_simd_grainsize_messages.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_messages.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_simdlen_messages.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_reduction_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_num_tasks_messages.cpp
The file was modifiedclang/include/clang-c/Index.h
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was addedclang/test/OpenMP/master_taskloop_simd_private_messages.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/OpenMP/master_taskloop_simd_collapse_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_firstprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_aligned_messages.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.h
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_codegen.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_final_messages.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was addedclang/test/OpenMP/master_taskloop_simd_loop_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_private_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_in_reduction_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
The file was modifiedclang/lib/AST/StmtPrinter.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_misc_messages.c
The file was addedclang/test/OpenMP/master_taskloop_simd_priority_messages.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was addedclang/test/OpenMP/master_taskloop_simd_lastprivate_messages.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_ast_print.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_linear_messages.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_codegen.cpp
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was addedclang/test/OpenMP/master_taskloop_simd_safelen_messages.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
Commit 52dc406efc717cf5aca1f5ee5600382f348969db by llvmgnsyncbot
gn build: Merge r375254
llvm-svn: 375256
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
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Commit 80fe5cffd2eef46ebd19aac6d8c6f2c3f9b4290f by a.bataev
[DOCS]Update list of implemented constructs, NFC.
llvm-svn: 375257
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 7f704320b058f7217847ee0e599f64e2ce50447c by modocache
[Format] Add format check for throwing negative numbers
Summary: The code `throw -1;` is currently formatted by clang-format as
`throw - 1;`. This diff adds a fix for this edge case and a test to
check for this in the future.
For context, I am looking into a related bug in the clang-formatting of
coroutine keywords: `co_yield -1;` is also reformatted in this manner as
`co_yield - 1;`. A later diff will add these changes and tests for the
`co_yield` and `co_return` keywords.
Patch by Jonathan Thomas (jonathoma)!
Reviewers: modocache, sammccall, Quuxplusone
Reviewed By: sammccall
Subscribers: cfe-commits
Tags: #clang-format, #clang
Differential Revision: https://reviews.llvm.org/D69144
llvm-svn: 375258
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp