FailedChanges

Summary

  1. GlobalISel: Implement widenScalar for G_SITOFP/G_UITOFP sources Legalize 16-bit G_SITOFP/G_UITOFP for AMDGPU.
  2. AMDGPU/GlobalISel: Legalize G_GLOBAL_VALUE Handle other cases besides LDS. Mostly a straight port of the existing handling, without the intermediate custom nodes.
  3. compiler-rt: use __GLIBC_PREREQ for SANITIZER_INTERCEPT_GETRANDOM Summary: Fixes https://github.com/google/oss-fuzz/issues/2836 Reviewers: eugenis Subscribers: dberris, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D68178
  4. compiler-rt: move all __GLIBC_PREREQ into own header file Reviewers: eugenis Subscribers: dberris, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D68177
  5. Rename tsan_interceptors.cpp into tsan_interceptors_posix.cpp Summary: It's needed to use __GLIBC_PREREQ from <features.h> tsan didn't let us to include <features.h> by using --sysroot=. to disable system includes on anything that is not named as "tsan*posix*", "tsan*mac*", "tsan*linux*". See compiler-rt/lib/tsan/CMakeLists.txt Reviewers: eugenis, dvyukov, kcc Reviewed By: kcc Subscribers: mgorny, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D68176
  6. [c++20] Add a C++20 version of the existing turing machine test. Unlike the C++11 version, this one uese mutable state and dynamic allocation instead of a carefully balanced and ever-accumulating pile of temporaries.
  7. During constant evaluation, handle CXXBindTemporaryExprs for array-of-class types, not just for class types.
  8. DebugInfo: Add parsing support for debug_loc base address specifiers
  9. [c++20] Fix crash when constant-evaluating an assignment with a reference member access on its left-hand side.
  10. Fix Driver/modules.cpp test to work when build directory name contains '.s' Reviewers: dyung, rsmith, hansw Subscribers: mati865, mgorny, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D66176
  11. [SimplifyLibCalls] Define the value of the Euler number This patch fixes the build break on Windows hosts. There must be a better way of accessing the equivalent POSIX math constant `M_E`.
  12. DebugInfo: Simplify section label caching/usage
  13. Fix crash on value-dependent delete-expressions. We used to miscompute the 'value-dependent' bit, and would crash if we tried to evaluate a delete expression that should be value-dependent.
  14. Add partial bswap test to the X86 backend. NFC
  15. [DAGCombiner] Clang format MatchRotate. NFC
  16. Make function static that didn't need linkage. In r373247 I added a helper function, but neglected to make it static.
Revision 373287 by arsenm:
GlobalISel: Implement widenScalar for G_SITOFP/G_UITOFP sources

Legalize 16-bit G_SITOFP/G_UITOFP for AMDGPU.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/LegalizerHelper.cppllvm.src/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cppllvm.src/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/GlobalISel/gisel-fail-intermediate-legalizer.llllvm.src/test/CodeGen/AArch64/GlobalISel/gisel-fail-intermediate-legalizer.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir
Revision 373286 by arsenm:
AMDGPU/GlobalISel: Legalize G_GLOBAL_VALUE

Handle other cases besides LDS. Mostly a straight port of the existing
handling, without the intermediate custom nodes.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.cppllvm.src/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPULegalizerInfo.hllvm.src/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.hllvm.src/lib/Target/AMDGPU/SIISelLowering.h
The file was added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/global-value.llllvm.src/test/CodeGen/AMDGPU/GlobalISel/global-value.ll
Revision 373284 by Vitaly Buka:
compiler-rt: use __GLIBC_PREREQ for SANITIZER_INTERCEPT_GETRANDOM

Summary: Fixes https://github.com/google/oss-fuzz/issues/2836

Reviewers: eugenis

Subscribers: dberris, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D68178
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.hcompiler-rt.src/lib/sanitizer_common/sanitizer_platform_interceptors.h
Revision 373283 by Vitaly Buka:
compiler-rt: move all __GLIBC_PREREQ into own header file

Reviewers: eugenis

Subscribers: dberris, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D68177
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_getauxval.hcompiler-rt.src/lib/sanitizer_common/sanitizer_getauxval.h
The file was added/compiler-rt/trunk/lib/sanitizer_common/sanitizer_glibc_version.hcompiler-rt.src/lib/sanitizer_common/sanitizer_glibc_version.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cppcompiler-rt.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.cppcompiler-rt.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_limits_posix.hcompiler-rt.src/lib/sanitizer_common/sanitizer_platform_limits_posix.h
Revision 373282 by Vitaly Buka:
Rename tsan_interceptors.cpp into tsan_interceptors_posix.cpp

Summary:
It's needed to use __GLIBC_PREREQ from <features.h>

tsan didn't let us to include <features.h> by using --sysroot=. to disable system includes on
anything that is not named as "tsan*posix*", "tsan*mac*", "tsan*linux*".
See compiler-rt/lib/tsan/CMakeLists.txt

Reviewers: eugenis, dvyukov, kcc

Reviewed By: kcc

Subscribers: mgorny, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D68176
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/tsan/CMakeLists.txtcompiler-rt.src/lib/tsan/CMakeLists.txt
The file was removed/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cppcompiler-rt.src/lib/tsan/rtl/tsan_interceptors.cpp
The file was added/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors_posix.cppcompiler-rt.src/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modified/compiler-rt/trunk/lib/tsan/rtl/tsan_report.cppcompiler-rt.src/lib/tsan/rtl/tsan_report.cpp
Revision 373281 by rsmith:
[c++20] Add a C++20 version of the existing turing machine test.

Unlike the C++11 version, this one uese mutable state and dynamic
allocation instead of a carefully balanced and ever-accumulating pile of
temporaries.
Change TypePath in RepositoryPath in Workspace
The file was added/cfe/trunk/test/SemaCXX/constexpr-turing-cxx2a.cppclang.src/test/SemaCXX/constexpr-turing-cxx2a.cpp
Revision 373279 by rsmith:
During constant evaluation, handle CXXBindTemporaryExprs for
array-of-class types, not just for class types.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/AST/ExprConstant.cppclang.src/lib/AST/ExprConstant.cpp
The file was modified/cfe/trunk/test/SemaCXX/constant-expression-cxx2a.cppclang.src/test/SemaCXX/constant-expression-cxx2a.cpp
Revision 373278 by dblaikie:
DebugInfo: Add parsing support for debug_loc base address specifiers
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.hllvm.src/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
The file was modified/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugLoc.cppllvm.src/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
The file was added/llvm/trunk/test/tools/llvm-dwarfdump/debug_loc_base_address.sllvm.src/test/tools/llvm-dwarfdump/debug_loc_base_address.s
Revision 373276 by rsmith:
[c++20] Fix crash when constant-evaluating an assignment with a
reference member access on its left-hand side.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/AST/ExprConstant.cppclang.src/lib/AST/ExprConstant.cpp
The file was modified/cfe/trunk/test/SemaCXX/constant-expression-cxx2a.cppclang.src/test/SemaCXX/constant-expression-cxx2a.cpp
Revision 373275 by tstellar:
Fix Driver/modules.cpp test to work when build directory name contains '.s'

Reviewers: dyung, rsmith, hansw

Subscribers: mati865, mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66176
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/Driver/modules.cppclang.src/test/Driver/modules.cpp
Revision 373274 by evandro:
[SimplifyLibCalls] Define the value of the Euler number

This patch fixes the build break on Windows hosts.

There must be a better way of accessing the equivalent POSIX math constant
`M_E`.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cppllvm.src/lib/Transforms/Utils/SimplifyLibCalls.cpp
Revision 373273 by dblaikie:
DebugInfo: Simplify section label caching/usage
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cppllvm.src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cppllvm.src/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Revision 373272 by rsmith:
Fix crash on value-dependent delete-expressions.

We used to miscompute the 'value-dependent' bit, and would crash if we
tried to evaluate a delete expression that should be value-dependent.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/ExprCXX.hclang.src/include/clang/AST/ExprCXX.h
The file was modified/cfe/trunk/test/SemaCXX/constant-expression-cxx2a.cppclang.src/test/SemaCXX/constant-expression-cxx2a.cpp
Revision 373271 by deadalnix:
Add partial bswap test to the X86 backend. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/bswap_tree.llllvm.src/test/CodeGen/X86/bswap_tree.ll
Revision 373269 by deadalnix:
[DAGCombiner] Clang format MatchRotate. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cppllvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Revision 373268 by erichkeane:
Make function static that didn't need linkage.

In r373247 I added a helper function, but neglected to make it static.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/AST/DeclCXX.cppclang.src/lib/AST/DeclCXX.cpp