SuccessChanges

Summary

  1. Add location of SVN staging dir to git-llvm error output Summary: In pre-monorepo times the svn staging directory was `.git/svn`. The below error message wasn't mentioning the new name yet. Example before: ``` Can't push git rev 104cfa289d9 because svn status is not empty: ! llvm/trunk/include/llvm ``` Example after: ``` Can't push git rev 104cfa289d9 because status in svn staging dir (.git/llvm-upstream-svn) is not empty: ! llvm/trunk/include/llvm ``` Reviewers: mehdi_amini, jlebar, teemperor Reviewed By: mehdi_amini Subscribers: llvm-commits, #llvm Tags: #llvm Differential Revision: https://reviews.llvm.org/D65038
  2. [OpenCL] Improve destructor support in C++ for OpenCL This re-applies r366422 with a fix for Bug PR42665 and a new regression test.
  3. [IPRA][ARM] Make use of the "returned" parameter attribute ARM has code to recognise uses of the "returned" function parameter attribute which guarantee that the value passed to the function in r0 will be returned in r0 unmodified. IPRA replaces the regmask on call instructions, so needs to be told about this to avoid reverting the optimisation. Differential revision: https://reviews.llvm.org/D64986
  4. [llvm-readobj] - Stop using precompiled objects in file-headers.test This converts all sub-tests except one to YAML instead of precompiled inputs. Differential revision: https://reviews.llvm.org/D64800
  5. [AMDGPU] Save some work when an atomic op has no uses Summary: In the atomic optimizer, save doing a bunch of work and generating a bunch of dead IR in the fairly common case where the result of an atomic op (i.e. the value that was in memory before the atomic op was performed) is not used. NFC. Reviewers: arsenm, dstuttard, tpr Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, t-tye, hiraditya, jfb, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64981
  6. [PowerPC][NFC] Precommit a test case where ppc-mi-peepholes miscompiles extswsli Added a test case to show codegen differences.
Revision 366671 by stefan.graenitz:
Add location of SVN staging dir to git-llvm error output

Summary:
In pre-monorepo times the svn staging directory was `.git/svn`. The below error message wasn't mentioning the new name yet.

Example before:
```
Can't push git rev 104cfa289d9 because svn status is not empty:
!     llvm/trunk/include/llvm
```

Example after:
```
Can't push git rev 104cfa289d9 because status in svn staging dir (.git/llvm-upstream-svn) is not empty:
!     llvm/trunk/include/llvm
```

Reviewers: mehdi_amini, jlebar, teemperor

Reviewed By: mehdi_amini

Subscribers: llvm-commits, #llvm

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D65038
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/git-svn/git-llvm (diff)llvm.src/utils/git-svn/git-llvm
Revision 366670 by mantognini:
[OpenCL] Improve destructor support in C++ for OpenCL

This re-applies r366422 with a fix for Bug PR42665 and a new regression
test.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/DeclCXX.h (diff)clang.src/include/clang/AST/DeclCXX.h
The file was modified/cfe/trunk/include/clang/AST/ExprCXX.h (diff)clang.src/include/clang/AST/ExprCXX.h
The file was modified/cfe/trunk/lib/AST/DeclCXX.cpp (diff)clang.src/lib/AST/DeclCXX.cpp
The file was modified/cfe/trunk/lib/AST/ExprCXX.cpp (diff)clang.src/lib/AST/ExprCXX.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGCXXABI.h (diff)clang.src/lib/CodeGen/CGCXXABI.h
The file was modified/cfe/trunk/lib/CodeGen/CGCall.cpp (diff)clang.src/lib/CodeGen/CGCall.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGClass.cpp (diff)clang.src/lib/CodeGen/CGClass.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGDecl.cpp (diff)clang.src/lib/CodeGen/CGDecl.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGExprCXX.cpp (diff)clang.src/lib/CodeGen/CGExprCXX.cpp
The file was modified/cfe/trunk/lib/CodeGen/CodeGenFunction.h (diff)clang.src/lib/CodeGen/CodeGenFunction.h
The file was modified/cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp (diff)clang.src/lib/CodeGen/ItaniumCXXABI.cpp
The file was modified/cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp (diff)clang.src/lib/CodeGen/MicrosoftCXXABI.cpp
The file was modified/cfe/trunk/lib/Sema/SemaDeclCXX.cpp (diff)clang.src/lib/Sema/SemaDeclCXX.cpp
The file was modified/cfe/trunk/lib/Sema/SemaOverload.cpp (diff)clang.src/lib/Sema/SemaOverload.cpp
The file was added/cfe/trunk/test/CodeGenCXX/PR42665.cppclang.src/test/CodeGenCXX/PR42665.cpp
The file was removed/cfe/trunk/test/CodeGenOpenCLCXX/addrspace-ctor.clclang.src/test/CodeGenOpenCLCXX/addrspace-ctor.cl
The file was added/cfe/trunk/test/CodeGenOpenCLCXX/addrspace-with-class.clclang.src/test/CodeGenOpenCLCXX/addrspace-with-class.cl
Revision 366669 by ostannard:
[IPRA][ARM] Make use of the "returned" parameter attribute

ARM has code to recognise uses of the "returned" function parameter
attribute which guarantee that the value passed to the function in r0
will be returned in r0 unmodified. IPRA replaces the regmask on call
instructions, so needs to be told about this to avoid reverting the
optimisation.

Differential revision: https://reviews.llvm.org/D64986
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMFrameLowering.cpp (diff)llvm.src/lib/Target/ARM/ARMFrameLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (diff)llvm.src/lib/Target/ARM/ARMISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMMachineFunctionInfo.h (diff)llvm.src/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was added/llvm/trunk/test/CodeGen/ARM/ipra-r0-returned.llllvm.src/test/CodeGen/ARM/ipra-r0-returned.ll
Revision 366668 by grimar:
[llvm-readobj] - Stop using precompiled objects in file-headers.test

This converts all sub-tests except one to YAML instead of precompiled inputs.

Differential revision: https://reviews.llvm.org/D64800
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/test/tools/llvm-readobj/Inputs/magic.coff-unknownllvm.src/test/tools/llvm-readobj/Inputs/magic.coff-unknown
The file was removed/llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.exe.coff-i386llvm.src/test/tools/llvm-readobj/Inputs/trivial.exe.coff-i386
The file was removed/llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.obj.coff-arm64llvm.src/test/tools/llvm-readobj/Inputs/trivial.obj.coff-arm64
The file was removed/llvm/trunk/test/tools/llvm-readobj/Inputs/trivial.obj.elf-lanaillvm.src/test/tools/llvm-readobj/Inputs/trivial.obj.elf-lanai
The file was added/llvm/trunk/test/tools/llvm-readobj/coff-file-headers.testllvm.src/test/tools/llvm-readobj/coff-file-headers.test
The file was added/llvm/trunk/test/tools/llvm-readobj/elf-file-headers.testllvm.src/test/tools/llvm-readobj/elf-file-headers.test
The file was removed/llvm/trunk/test/tools/llvm-readobj/file-headers.testllvm.src/test/tools/llvm-readobj/file-headers.test
The file was added/llvm/trunk/test/tools/llvm-readobj/macho-file-headers.testllvm.src/test/tools/llvm-readobj/macho-file-headers.test
The file was added/llvm/trunk/test/tools/llvm-readobj/wasm-file-headers.testllvm.src/test/tools/llvm-readobj/wasm-file-headers.test
Revision 366667 by foad:
[AMDGPU] Save some work when an atomic op has no uses

Summary:
In the atomic optimizer, save doing a bunch of work and generating a
bunch of dead IR in the fairly common case where the result of an
atomic op (i.e. the value that was in memory before the atomic op was
performed) is not used. NFC.

Reviewers: arsenm, dstuttard, tpr

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64981
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
Revision 366666 by lkail:
[PowerPC][NFC] Precommit a test case where ppc-mi-peepholes miscompiles extswsli

Added a test case to show codegen differences.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/MIR/PowerPC/peephole-miscompile-extswsli.mirllvm.src/test/CodeGen/MIR/PowerPC/peephole-miscompile-extswsli.mir