FailedChanges

Summary

  1. Rename nonvolatile_load/store to simple_load/store [NFC] Implement the TODO from D66318.
  2. [AArch64][GlobalISel] Support tail calling with swiftself parameters Swiftself uses a callee-saved register. We can tail call when the register used in the caller and callee is the same. This behaviour is equivalent to that in `TargetLowering::parametersInCSRMatch`. Update call-translator-tail-call.ll to verify that we can do this. When we support inline assembly, we can write a check similar to the one in the general swiftself.ll. For now, we need to verify that we get the correct COPY instruction after call lowering. Differential Revision: https://reviews.llvm.org/D67511
  3. [libclang] Expose abort()-ing LLVM fatal error handler Differential Revision: https://reviews.llvm.org/D66775
  4. [SDAG] Update generic code to conservatively check for isAtomic in addition to isVolatile This is the first sweep of generic code to add isAtomic bailouts where appropriate. The intention here is to have the switch from AtomicSDNode to LoadSDNode/StoreSDNode be close to NFC; that is, I'm not looking to allow additional optimizations at this time. That will come later. See D66309 for context. Differential Revision: https://reviews.llvm.org/D66318
  5. Add -Wpoison-system-directories warning When using clang as a cross-compiler, we should not use system headers to do the compilation. This CL adds support of a new warning flag -Wpoison-system-directories which emits warnings if --sysroot is set and headers from common host system location are used. By default the warning is disabled. The intention of the warning is to catch bad includes which are usually generated by third party build system not targeting cross-compilation. Such cases happen in Chrome OS when someone imports a new package or upgrade one to a newer version from upstream. Patch by: denik (Denis Nikitin)
  6. [NFC] Fix file header filename to be Range.h
  7. [Docs] Adds page for reference docs Adds a Reference Documentation page for LLVM and API reference documentation.
Revision 371789 by reames:
Rename nonvolatile_load/store to simple_load/store [NFC]

Implement the TODO from D66318.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Target/TargetSelectionDAG.td (diff)llvm.src/include/llvm/Target/TargetSelectionDAG.td
The file was modified/llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td (diff)llvm.src/lib/Target/SystemZ/SystemZInstrFP.td
The file was modified/llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.td (diff)llvm.src/lib/Target/SystemZ/SystemZInstrInfo.td
The file was modified/llvm/trunk/lib/Target/X86/X86InstrAVX512.td (diff)llvm.src/lib/Target/X86/X86InstrAVX512.td
The file was modified/llvm/trunk/lib/Target/X86/X86InstrCompiler.td (diff)llvm.src/lib/Target/X86/X86InstrCompiler.td
The file was modified/llvm/trunk/lib/Target/X86/X86InstrMMX.td (diff)llvm.src/lib/Target/X86/X86InstrMMX.td
The file was modified/llvm/trunk/lib/Target/X86/X86InstrSSE.td (diff)llvm.src/lib/Target/X86/X86InstrSSE.td
Revision 371788 by paquette:
[AArch64][GlobalISel] Support tail calling with swiftself parameters

Swiftself uses a callee-saved register. We can tail call when the register used
in the caller and callee is the same.

This behaviour is equivalent to that in `TargetLowering::parametersInCSRMatch`.

Update call-translator-tail-call.ll to verify that we can do this. When we
support inline assembly, we can write a check similar to the one in the
general swiftself.ll. For now, we need to verify that we get the correct COPY
instruction after call lowering.

Differential Revision: https://reviews.llvm.org/D67511
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64CallLowering.cpp (diff)llvm.src/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll (diff)llvm.src/test/CodeGen/AArch64/GlobalISel/call-translator-tail-call.ll
Revision 371787 by Jan Korous:
[libclang] Expose abort()-ing LLVM fatal error handler

Differential Revision: https://reviews.llvm.org/D66775
Change TypePath in RepositoryPath in Workspace
The file was added/cfe/trunk/include/clang-c/FatalErrorHandler.hclang.src/include/clang-c/FatalErrorHandler.h
The file was modified/cfe/trunk/tools/libclang/CIndex.cpp (diff)clang.src/tools/libclang/CIndex.cpp
The file was modified/cfe/trunk/tools/libclang/CMakeLists.txt (diff)clang.src/tools/libclang/CMakeLists.txt
The file was added/cfe/trunk/tools/libclang/FatalErrorHandler.cppclang.src/tools/libclang/FatalErrorHandler.cpp
The file was modified/cfe/trunk/tools/libclang/libclang.exports (diff)clang.src/tools/libclang/libclang.exports
The file was modified/cfe/trunk/unittests/libclang/CMakeLists.txt (diff)clang.src/unittests/libclang/CMakeLists.txt
The file was added/cfe/trunk/unittests/libclang/CrashTestsclang.src/unittests/libclang/CrashTests
The file was added/cfe/trunk/unittests/libclang/CrashTests/CMakeLists.txtclang.src/unittests/libclang/CrashTests/CMakeLists.txt
The file was added/cfe/trunk/unittests/libclang/CrashTests/LibclangCrashTest.cppclang.src/unittests/libclang/CrashTests/LibclangCrashTest.cpp
Revision 371786 by reames:
[SDAG] Update generic code to conservatively check for isAtomic in addition to isVolatile

This is the first sweep of generic code to add isAtomic bailouts where appropriate. The intention here is to have the switch from AtomicSDNode to LoadSDNode/StoreSDNode be close to NFC; that is, I'm not looking to allow additional optimizations at this time. That will come later.  See D66309 for context.

Differential Revision: https://reviews.llvm.org/D66318
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Target/TargetSelectionDAG.td (diff)llvm.src/include/llvm/Target/TargetSelectionDAG.td
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/atomic-unordered.ll (diff)llvm.src/test/CodeGen/X86/atomic-unordered.ll
Revision 371785 by manojgupta:
Add -Wpoison-system-directories warning

When using clang as a cross-compiler, we should not use system
headers to do the compilation.
This CL adds support of a new warning flag -Wpoison-system-directories which
emits warnings if --sysroot is set and headers from common host system location
are used.
By default the warning is disabled.

The intention of the warning is to catch bad includes which are usually
generated by third party build system not targeting cross-compilation.
Such cases happen in Chrome OS when someone imports a new package or upgrade
one to a newer version from upstream.

Patch by: denik (Denis Nikitin)
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticCommonKinds.td (diff)clang.src/include/clang/Basic/DiagnosticCommonKinds.td
The file was modified/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (diff)clang.src/lib/Frontend/InitHeaderSearch.cpp
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_treeclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/libclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keepclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/lib/.keep
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usrclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/includeclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++clang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keepclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/include/c++/.keep
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/libclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gccclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keepclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/lib/gcc/.keep
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/localclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/includeclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keepclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/include/.keep
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/libclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib
The file was added/cfe/trunk/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keepclang.src/test/Frontend/Inputs/sysroot_x86_64_cross_linux_tree/usr/local/lib/.keep
The file was added/cfe/trunk/test/Frontend/warning-poison-system-directories.cclang.src/test/Frontend/warning-poison-system-directories.c
Revision 371783 by gclayton:
[NFC] Fix file header filename to be Range.h
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/DebugInfo/GSYM/Range.h (diff)llvm.src/include/llvm/DebugInfo/GSYM/Range.h
Revision 371782 by dr87:
[Docs] Adds page for reference docs

Adds a Reference Documentation page for LLVM and API reference documentation.
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/docs/ReferenceDocumentation.rstllvm.src/docs/ReferenceDocumentation.rst
The file was modified/llvm/trunk/docs/UserGuides.rst (diff)llvm.src/docs/UserGuides.rst
The file was modified/llvm/trunk/docs/index.rst (diff)llvm.src/docs/index.rst