SuccessChanges

Summary

  1. [Remarks] Add cl::Hidden to -remarks-yaml-string-table It was showing up in a lot of unrelated tools.
  2. docs/GithubMove.rst: Remove obsolete information Summary: Remove references to the multirepo and update the document to reflect the current state of the github repository. Reviewers: mehdi_amini, jyknight Subscribers: jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D58420
  3. [FileCheck] Use bool operator to test Expected Use bool() consistently to get boolean value of Error, Optional and Expected types in EXPECT calls. While static_cast is used in all cases but one, bool provides more clarity and makes more sense as a new default.
  4. [NFC][InstCombine] Redundant masking before left-shift (PR42563) alive proofs: a,b: https://rise4fun.com/Alive/4zsf c,d,e,f: https://rise4fun.com/Alive/RC49 Indeed, not all of these patterns are canonical. But since this fold will only produce a single instruction i'm really interested in handling even uncanonical patterns. Other than these 6 patterns, i can't think of any other reasonable variants right now, although i'm sure they exist. For now let's start with patterns where both shift amounts are variable, with trivial constant "offset" between them, since i believe this is both simplest to handle and i think this is most common. But again, there are likely other variants where we could use ValueTracking/ConstantRange to handle more cases. https://bugs.llvm.org/show_bug.cgi?id=42563
  5. [AMDGPU] Allow abs/neg source modifiers on v_cndmask_b32 Summary: D59191 added support for these modifiers in the assembler and disassembler. This patch just teaches instruction selection that it can use them. Reviewers: arsenm, tstellar Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64497
  6. [InstCombine] pow(C,x) -> exp2(log2(C)*x) Summary: Transform pow(C,x) To exp2(log2(C)*x) if C > 0, C != inf, C != NaN (and C is not power of 2, since we have some fold for such case already). log(C) is folded by the compiler and exp2 is much faster to compute than pow. Reviewers: spatel, efriedma, evandro Reviewed By: evandro Subscribers: lebedev.ri, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64099
  7. [InferFunctionAttrs] add/adjust tests for dereferenceable; NFC Based on review comments for D64258.
Revision 365647 by thegameg:
[Remarks] Add cl::Hidden to -remarks-yaml-string-table

It was showing up in a lot of unrelated tools.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Remarks/YAMLRemarkSerializer.cpptrunk/lib/Remarks/YAMLRemarkSerializer.cpp
Revision 365645 by tstellar:
docs/GithubMove.rst: Remove obsolete information

Summary:
Remove references to the multirepo and update the document to
reflect the current state of the github repository.

Reviewers: mehdi_amini, jyknight

Subscribers: jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58420
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/Proposals/GitHubMove.rsttrunk/docs/Proposals/GitHubMove.rst
Revision 365644 by thopre:
[FileCheck] Use bool operator to test Expected

Use bool() consistently to get boolean value of Error, Optional and
Expected types in EXPECT calls. While static_cast is used in all cases
but one, bool provides more clarity and makes more sense as a new
default.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/Support/FileCheckTest.cpptrunk/unittests/Support/FileCheckTest.cpp
Revision 365641 by lebedevri:
[NFC][InstCombine] Redundant masking before left-shift (PR42563)

alive proofs:
a,b:     https://rise4fun.com/Alive/4zsf
c,d,e,f: https://rise4fun.com/Alive/RC49

Indeed, not all of these patterns are canonical.
But since this fold will only produce a single instruction
i'm really interested in handling even uncanonical patterns.

Other than these 6 patterns, i can't think of any other
reasonable variants right now, although i'm sure they exist.

For now let's start with patterns where both shift amounts are variable,
with trivial constant "offset" between them, since i believe this is
both simplest to handle and i think this is most common.
But again, there are likely other variants where we could use
ValueTracking/ConstantRange to handle more cases.

https://bugs.llvm.org/show_bug.cgi?id=42563
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.lltrunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.lltrunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.lltrunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.lltrunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.lltrunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.lltrunk/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/redundant-right-shift-input-masking.lltrunk/test/Transforms/InstCombine/redundant-right-shift-input-masking.ll
The file was removed/llvm/trunk/test/Transforms/InstCombine/redundant-shift-input-masking.lltrunk/test/Transforms/InstCombine/redundant-shift-input-masking.ll
Revision 365640 by foad:
[AMDGPU] Allow abs/neg source modifiers on v_cndmask_b32

Summary:
D59191 added support for these modifiers in the assembler and
disassembler. This patch just teaches instruction selection that it can
use them.

Reviewers: arsenm, tstellar

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64497
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstructions.tdtrunk/lib/Target/AMDGPU/SIInstructions.td
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/fneg-combines.lltrunk/test/CodeGen/AMDGPU/fneg-combines.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/select-fabs-fneg-extract.lltrunk/test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/sint_to_fp.i64.lltrunk/test/CodeGen/AMDGPU/sint_to_fp.i64.ll
Revision 365637 by xbolva00:
[InstCombine] pow(C,x) -> exp2(log2(C)*x)

Summary:
Transform
pow(C,x)

To
exp2(log2(C)*x)

if C > 0, C != inf, C != NaN (and C is not power of 2, since we have some fold for such case already).

log(C) is folded by the compiler and exp2 is much faster to compute than pow.

Reviewers: spatel, efriedma, evandro

Reviewed By: evandro

Subscribers: lebedev.ri, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64099
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpptrunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/pow-exp.lltrunk/test/Transforms/InstCombine/pow-exp.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/pow_fp_int.lltrunk/test/Transforms/InstCombine/pow_fp_int.ll
Revision 365636 by spatel:
[InferFunctionAttrs] add/adjust tests for dereferenceable; NFC

Based on review comments for D64258.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InferFunctionAttrs/dereferenceable.lltrunk/test/Transforms/InferFunctionAttrs/dereferenceable.ll

Summary

  1. [AMDGPU] Increased the number of implicit argument bytes for both OpenCL and HIP (CLANG). To enable a new implicit kernel argument, increased the number of argument bytes from 48 to 56. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D63756
  2. [analyzer]Add user docs rst Summary: Add user documentation page. This is an empty page atm, later patches will add the specific user documentatoins. Reviewers: dkrupp Subscribers: whisperity, xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, gamesh411, Charusso, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64494
  3. Remove two unused member variables. They were added over 10 years ago in r66575 and have never been used as far as I can tell. (r67087 added similar fields to Compilation, and those are used.)
Revision 365643 by cdevadas:
[AMDGPU] Increased the number of implicit argument bytes for both OpenCL and HIP (CLANG).

To enable a new implicit kernel argument,
increased the number of argument bytes from 48 to 56.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D63756
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/TargetInfo.cpptrunk/lib/CodeGen/TargetInfo.cpp
The file was modified/cfe/trunk/test/CodeGenCUDA/amdgpu-hip-implicit-kernarg.cutrunk/test/CodeGenCUDA/amdgpu-hip-implicit-kernarg.cu
The file was modified/cfe/trunk/test/CodeGenOpenCL/amdgpu-attrs.cltrunk/test/CodeGenOpenCL/amdgpu-attrs.cl
Revision 365639 by martong:
[analyzer]Add user docs rst

Summary:
Add user documentation page. This is an empty page atm, later patches will add
the specific user documentatoins.

Reviewers: dkrupp

Subscribers: whisperity, xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, gamesh411, Charusso, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64494
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/ClangStaticAnalyzer.rsttrunk/docs/ClangStaticAnalyzer.rst
The file was added/cfe/trunk/docs/analyzer/user-docs.rsttrunk/docs/analyzer/user-docs.rst
Revision 365638 by nico:
Remove two unused member variables.

They were added over 10 years ago in r66575 and have never been used as
far as I can tell.

(r67087 added similar fields to Compilation, and those are used.)
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Driver/Driver.htrunk/include/clang/Driver/Driver.h

Summary

  1. [clangd] Filter out non-governed files from broadcast Summary: This also turns off implicit discovery of additional compilation databases. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64247
Revision 365634 by kadircet:
[clangd] Filter out non-governed files from broadcast

Summary:
This also turns off implicit discovery of additional compilation
databases.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64247
Change TypePath in RepositoryPath in Workspace
The file was modified/clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.cpptrunk/clangd/GlobalCompilationDatabase.cpp
The file was modified/clang-tools-extra/trunk/clangd/GlobalCompilationDatabase.htrunk/clangd/GlobalCompilationDatabase.h
The file was modified/clang-tools-extra/trunk/clangd/QueryDriverDatabase.cpptrunk/clangd/QueryDriverDatabase.cpp
The file was modified/clang-tools-extra/trunk/clangd/index/Background.cpptrunk/clangd/index/Background.cpp
The file was modified/clang-tools-extra/trunk/clangd/unittests/ClangdTests.cpptrunk/clangd/unittests/ClangdTests.cpp
The file was modified/clang-tools-extra/trunk/clangd/unittests/GlobalCompilationDatabaseTests.cpptrunk/clangd/unittests/GlobalCompilationDatabaseTests.cpp
The file was modified/clang-tools-extra/trunk/clangd/unittests/TestFS.cpptrunk/clangd/unittests/TestFS.cpp
The file was modified/clang-tools-extra/trunk/clangd/unittests/TestFS.htrunk/clangd/unittests/TestFS.h