UnstableChanges

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

Summary

  1. [DAGCombiner] fold vselect-of-constants to shift (details)
  2. [llvm] [ocaml] Support linking against dylib (details)
  3. [AMDGPU][MC][GFX10] Enabled null for 64-bit dst operands (details)
  4. [libTooling] Move `RewriteRule` abstraction into its own header and (details)
  5. [AMDGPU][MC][GFX6][GFX7][GFX10] Added instructions (details)
  6. gn build: Merge r374558 (details)
  7. [AMDGPU][MC][GFX9][GFX10] Corrected number of src operands for (details)
  8. Reland r374450 with Richard Smith's comments and test fixed. (details)
  9. [AIX] Use .space instead of .zero in assembly (details)
Commit 3b581ac80f727441b1f1487c1a3f7632b5de292b by spatel
[DAGCombiner] fold vselect-of-constants to shift
The diffs suggest that we are missing some more basic
analysis/transforms, but this keeps the vector path in sync with the
scalar (rL374397). This is again a preliminary step for introducing the
reverse transform in IR as proposed in D63382.
llvm-svn: 374555
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/vselect.ll
The file was modifiedllvm/test/CodeGen/X86/selectcc-to-shiftand.ll
Commit da2a29a17cb4a8af4a1607edb3855f10a9384a2b by mgorny
[llvm] [ocaml] Support linking against dylib
Support linking OCaml modules against LLVM dylib when requested, rather
than against static libs that might not be installed at all.
Differential Revision: https://reviews.llvm.org/D68452
llvm-svn: 374556
The file was modifiedllvm/cmake/modules/AddOCaml.cmake
Commit 472c6b0aa02238abeadeeae1c77c4a0587575b0b by dmitry.preobrazhensky
[AMDGPU][MC][GFX10] Enabled null for 64-bit dst operands
See https://bugs.llvm.org/show_bug.cgi?id=43524
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D68785
llvm-svn: 374557
The file was modifiedllvm/test/MC/AMDGPU/sopk.s
The file was modifiedllvm/test/MC/AMDGPU/sop1.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
The file was modifiedllvm/test/MC/AMDGPU/sop2.s
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Commit e38c36b7b0ab5c84122025032533a6fbbfd69778 by yitzhakm
[libTooling] Move `RewriteRule` abstraction into its own header and
impl.
Summary: Move the `RewriteRule` class and related declarations into its
own set of files (header, implementation). Only the `Transformer` class
is left in the Transformer-named files. This change clarifies the
distinction between the
`RewriteRule` class, which is essential to the Transformer library, and
the
`Transformer` class, which is only one possible `RewriteRule`
interpreter
(compare to `TransformerClangTidyCheck`, a clang-tidy based
interpreter).
Reviewers: gribozavr
Subscribers: jfb, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68795
llvm-svn: 374558
The file was modifiedclang/include/clang/Tooling/Transformer/Transformer.h
The file was modifiedclang/lib/Tooling/Transformer/CMakeLists.txt
The file was addedclang/include/clang/Tooling/Transformer/RewriteRule.h
The file was addedclang/lib/Tooling/Transformer/RewriteRule.cpp
The file was modifiedclang/lib/Tooling/Transformer/Transformer.cpp
Commit b82fae01ea458d07b507a0fa57fd54789c66af6f by dmitry.preobrazhensky
[AMDGPU][MC][GFX6][GFX7][GFX10] Added instructions
buffer_atomic_[fcmpswap/fmin/fmax]*
See https://bugs.llvm.org/show_bug.cgi?id=28232
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D68788
llvm-svn: 374559
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was addedllvm/test/MC/Disassembler/AMDGPU/mubuf_gfx10.txt
The file was modifiedllvm/test/MC/AMDGPU/mubuf.s
The file was modifiedllvm/test/MC/AMDGPU/mubuf-gfx10.s
Commit b67d3df1c11e8c27fd33bed308fe326242f9be43 by llvmgnsyncbot
gn build: Merge r374558
llvm-svn: 374560
The file was modifiedllvm/utils/gn/secondary/clang/lib/Tooling/Transformer/BUILD.gn
Commit c4995076c6bd3706918930de436246ec4257c364 by dmitry.preobrazhensky
[AMDGPU][MC][GFX9][GFX10] Corrected number of src operands for
ds_[read/write]_addtid_b32
See https://bugs.llvm.org/show_bug.cgi?id=37941
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D68787
llvm-svn: 374561
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_err.s
The file was modifiedllvm/test/MC/AMDGPU/gfx10_asm_all.s
The file was modifiedllvm/lib/Target/AMDGPU/DSInstructions.td
The file was modifiedllvm/test/MC/AMDGPU/ds-gfx9.s
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
Commit f759395994212fbefbd540cd4565c6b4fa304ecd by erich.keane
Reland r374450 with Richard Smith's comments and test fixed.
The behavior from the original patch has changed, since we're no longer
allowing LLVM to just ignore the alignment.  Instead, we're just
assuming the maximum possible alignment.
Differential Revision: https://reviews.llvm.org/D68824
llvm-svn: 374562
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params-variable.cpp
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-three-params.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/CodeGen/builtin-assume-aligned.c
The file was modifiedclang/test/CodeGen/catch-alignment-assumption-builtin_assume_aligned-two-params.cpp
Commit 033d16cedc08163d9ab3dcb15b30b9642e6b5282 by daltenty
[AIX] Use .space instead of .zero in assembly
Summary: The AIX system assembler does not understand .zero, so we
should prefer emitting .space.
Subscribers: nemanjai, hiraditya, kbarton, MaskRay, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68815
llvm-svn: 374564
The file was modifiedllvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
The file was addedllvm/test/CodeGen/PowerPC/aix-space.ll