FailedChanges

Summary

  1. Fix lld detection in standalone compiler-rt. Summary: Right now all hwasan tests on Android are silently disabled because they require "has_lld" and standalone compiler-rt can not (and AFAIK was never able to) set it. Reviewers: pcc, dyung Subscribers: dberris, mgorny, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D69196
  2. [hwasan] Workaround unwinder issues in try-catch test. Android links the unwinder library to every DSO. The problem is, unwinder has global state, and hwasan implementation of personality function wrapper happens to rub it the wrong way. Switch the test to static libc++ as a temporary workaround.
  3. [X86][BMI] Pull out schedule classes from bmi_andn<> and bmi_bls<> Stop hardwiring classes
  4. [NFC] Fix typos in CMake comment
  5. Fix -fuse-init-array decision logic on NetBSD For NetBSD 9 and later, it is the default. On older versions, only ARM and AArch64 use it by default.
  6. [Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which includes search paths and diagnostics. This is a recommit of r375322 and r375327 with a fix for the Windows test breakage.
  7. [X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) -> MOVMSK+CMP reduction combine
  8. [X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) movmsk v2X64 tests
  9. [examples] Add a dependency on ExecutionEngine to LLJITWithObjectCache example. ExecutionEngine.cpp contains the anchor() for the ObjectCache base class, so we need an explicit dependency on it. Patch by Stephen Neuendorffer. Thanks Stephen!
  10. AMDGPU/GlobalISel: Legalize fast unsafe FDIV Reviewers: arsenm Reviewed By: arsenm Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, rovka, dstuttard, tpr, t-tye, hiraditya, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69231
  11. [lit] Simplify test scheduling via multiprocessing.Pool
  12. AMDGPU: Select basic interp directly from intrinsics
  13. [lit] Remove redundancy from names and comments
  14. [CVP] No-wrap deduction for `shl` Summary: This is the last `OverflowingBinaryOperator` for which we don't deduce flags. D69217 taught `ConstantRange::makeGuaranteedNoWrapRegion()` about it. The effect is better than of the `mul` patch (D69203): | statistic | old | new | delta | % change | | correlated-value-propagation.NumAddNUW | 7145 | 7144 | -1 | -0.0140% | | correlated-value-propagation.NumAddNW | 12126 | 12125 | -1 | -0.0082% | | correlated-value-propagation.NumAnd | 443 | 446 | 3 | 0.6772% | | correlated-value-propagation.NumNSW | 5986 | 7158 | 1172 | 19.5790% | | correlated-value-propagation.NumNUW | 10512 | 13304 | 2792 | 26.5601% | | correlated-value-propagation.NumNW | 16498 | 20462 | 3964 | 24.0272% | | correlated-value-propagation.NumShlNSW | 0 | 1172 | 1172 | | | correlated-value-propagation.NumShlNUW | 0 | 2793 | 2793 | | | correlated-value-propagation.NumShlNW | 0 | 3965 | 3965 | | | instcount.NumAShrInst | 13824 | 13790 | -34 | -0.2459% | | instcount.NumAddInst | 277584 | 277586 | 2 | 0.0007% | | instcount.NumAndInst | 66061 | 66056 | -5 | -0.0076% | | instcount.NumBrInst | 709153 | 709147 | -6 | -0.0008% | | instcount.NumICmpInst | 483709 | 483708 | -1 | -0.0002% | | instcount.NumSExtInst | 79497 | 79496 | -1 | -0.0013% | | instcount.NumShlInst | 40691 | 40654 | -37 | -0.0909% | | instcount.NumSubInst | 61997 | 61996 | -1 | -0.0016% | | instcount.NumZExtInst | 68208 | 68211 | 3 | 0.0044% | | instcount.TotalBlocks | 843916 | 843910 | -6 | -0.0007% | | instcount.TotalInsts | 7387528 | 7387448 | -80 | -0.0011% | Reviewers: nikic, reames, sanjoy, timshen Reviewed By: nikic Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69277
  15. [clang-fuzzer] Add new fuzzer target for Objective-C Summary: - Similar to that of `clang-fuzzer` itself but instead only targets Objective-C source files via cc1 - Also adds an example corpus directory containing some input for Objective-C Subscribers: mgorny, jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D69171
  16. [GISel][CombinerHelper] Add a combine turning shuffle_vector into concat_vectors Teach the CombinerHelper how to turn shuffle_vectors, that concatenate vectors, into concat_vectors and add this combine to the AArch64 pre-legalizer combiner. Differential Revision: https://reviews.llvm.org/D69149
Revision 375472 by eugenis:
Fix lld detection in standalone compiler-rt.

Summary:
Right now all hwasan tests on Android are silently disabled because they
require "has_lld" and standalone compiler-rt can not (and AFAIK was
never able to) set it.

Reviewers: pcc, dyung

Subscribers: dberris, mgorny, #sanitizers, llvm-commits

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D69196
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/CMakeLists.txtcompiler-rt.src/CMakeLists.txt
The file was modified/compiler-rt/trunk/cmake/config-ix.cmakecompiler-rt.src/cmake/config-ix.cmake
Revision 375471 by eugenis:
[hwasan] Workaround unwinder issues in try-catch test.

Android links the unwinder library to every DSO. The problem is,
unwinder has global state, and hwasan implementation of personality
function wrapper happens to rub it the wrong way.

Switch the test to static libc++ as a temporary workaround.
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/hwasan/TestCases/try-catch.cppcompiler-rt.src/test/hwasan/TestCases/try-catch.cpp
Revision 375470 by rksimon:
[X86][BMI] Pull out schedule classes from bmi_andn<> and bmi_bls<>

Stop hardwiring classes
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86InstrArithmetic.tdllvm.src/lib/Target/X86/X86InstrArithmetic.td
The file was modified/llvm/trunk/lib/Target/X86/X86InstrInfo.tdllvm.src/lib/Target/X86/X86InstrInfo.td
Revision 375469 by Louis Dionne:
[NFC] Fix typos in CMake comment
Change TypePath in RepositoryPath in Workspace
The file was modified/libcxx/trunk/include/CMakeLists.txtlibcxx.src/include/CMakeLists.txt
Revision 375468 by joerg:
Fix -fuse-init-array decision logic on NetBSD

For NetBSD 9 and later, it is the default. On older versions, only ARM
and AArch64 use it by default.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Driver/ToolChains/NetBSD.cppclang.src/lib/Driver/ToolChains/NetBSD.cpp
The file was modified/cfe/trunk/test/Driver/netbsd.cclang.src/test/Driver/netbsd.c
Revision 375466 by mspencer:
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which includes search paths and diagnostics.

This is a recommit of r375322 and r375327 with a fix for the Windows test breakage.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/Modules.rstclang.src/docs/Modules.rst
The file was modified/cfe/trunk/include/clang/Driver/CC1Options.tdclang.src/include/clang/Driver/CC1Options.td
The file was modified/cfe/trunk/include/clang/Lex/HeaderSearchOptions.hclang.src/include/clang/Lex/HeaderSearchOptions.h
The file was modified/cfe/trunk/lib/Frontend/CompilerInvocation.cppclang.src/lib/Frontend/CompilerInvocation.cpp
The file was added/cfe/trunk/test/Modules/context-hash.cclang.src/test/Modules/context-hash.c
Revision 375463 by rksimon:
[X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) -> MOVMSK+CMP reduction combine
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/movmsk-cmp.llllvm.src/test/CodeGen/X86/movmsk-cmp.ll
Revision 375462 by rksimon:
[X86][SSE] Add OR(EXTRACTELT(X,0),OR(EXTRACTELT(X,1))) movmsk v2X64 tests
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/movmsk-cmp.llllvm.src/test/CodeGen/X86/movmsk-cmp.ll
Revision 375461 by Lang Hames:
[examples] Add a dependency on ExecutionEngine to LLJITWithObjectCache example.

ExecutionEngine.cpp contains the anchor() for the ObjectCache base class, so we
need an explicit dependency on it.

Patch by Stephen Neuendorffer. Thanks Stephen!
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txtllvm.src/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txt
Revision 375460 by kerbowa:
AMDGPU/GlobalISel: Legalize fast unsafe FDIV

Reviewers: arsenm

Reviewed By: arsenm

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69231
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.hllvm.src/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
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 added/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/legalize-fast-unsafe-fdiv.mirllvm.src/test/CodeGen/AMDGPU/GlobalISel/legalize-fast-unsafe-fdiv.mir
Revision 375458 by yln:
[lit] Simplify test scheduling via multiprocessing.Pool
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/run.pyllvm.src/utils/lit/lit/run.py
Revision 375457 by arsenm:
AMDGPU: Select basic interp directly from intrinsics
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.cppllvm.src/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelLowering.hllvm.src/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstrInfo.tdllvm.src/lib/Target/AMDGPU/AMDGPUInstrInfo.td
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cppllvm.src/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstructions.tdllvm.src/lib/Target/AMDGPU/SIInstructions.td
Revision 375456 by yln:
[lit] Remove redundancy from names and comments
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/LitTestCase.pyllvm.src/utils/lit/lit/LitTestCase.py
The file was modified/llvm/trunk/utils/lit/lit/run.pyllvm.src/utils/lit/lit/run.py
The file was modified/llvm/trunk/utils/lit/lit/worker.pyllvm.src/utils/lit/lit/worker.py
Revision 375455 by lebedevri:
[CVP] No-wrap deduction for `shl`

Summary:
This is the last `OverflowingBinaryOperator` for which we don't deduce flags.
D69217 taught `ConstantRange::makeGuaranteedNoWrapRegion()` about it.

The effect is better than of the `mul` patch (D69203):

| statistic                              |     old |     new | delta | % change |
| correlated-value-propagation.NumAddNUW |    7145 |    7144 |    -1 | -0.0140% |
| correlated-value-propagation.NumAddNW  |   12126 |   12125 |    -1 | -0.0082% |
| correlated-value-propagation.NumAnd    |     443 |     446 |     3 |  0.6772% |
| correlated-value-propagation.NumNSW    |    5986 |    7158 |  1172 | 19.5790% |
| correlated-value-propagation.NumNUW    |   10512 |   13304 |  2792 | 26.5601% |
| correlated-value-propagation.NumNW     |   16498 |   20462 |  3964 | 24.0272% |
| correlated-value-propagation.NumShlNSW |       0 |    1172 |  1172 |          |
| correlated-value-propagation.NumShlNUW |       0 |    2793 |  2793 |          |
| correlated-value-propagation.NumShlNW  |       0 |    3965 |  3965 |          |
| instcount.NumAShrInst                  |   13824 |   13790 |   -34 | -0.2459% |
| instcount.NumAddInst                   |  277584 |  277586 |     2 |  0.0007% |
| instcount.NumAndInst                   |   66061 |   66056 |    -5 | -0.0076% |
| instcount.NumBrInst                    |  709153 |  709147 |    -6 | -0.0008% |
| instcount.NumICmpInst                  |  483709 |  483708 |    -1 | -0.0002% |
| instcount.NumSExtInst                  |   79497 |   79496 |    -1 | -0.0013% |
| instcount.NumShlInst                   |   40691 |   40654 |   -37 | -0.0909% |
| instcount.NumSubInst                   |   61997 |   61996 |    -1 | -0.0016% |
| instcount.NumZExtInst                  |   68208 |   68211 |     3 |  0.0044% |
| instcount.TotalBlocks                  |  843916 |  843910 |    -6 | -0.0007% |
| instcount.TotalInsts                   | 7387528 | 7387448 |   -80 | -0.0011% |

Reviewers: nikic, reames, sanjoy, timshen

Reviewed By: nikic

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69277
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/CorrelatedValuePropagation.cppllvm.src/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modified/llvm/trunk/test/Transforms/CorrelatedValuePropagation/icmp.llllvm.src/test/Transforms/CorrelatedValuePropagation/icmp.ll
The file was modified/llvm/trunk/test/Transforms/CorrelatedValuePropagation/shl.llllvm.src/test/Transforms/CorrelatedValuePropagation/shl.ll
Revision 375453 by dgoldman:
[clang-fuzzer] Add new fuzzer target for Objective-C

Summary:
- Similar to that of `clang-fuzzer` itself but instead only
  targets Objective-C source files via cc1

- Also adds an example corpus directory containing some
  input for Objective-C

Subscribers: mgorny, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D69171
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/tools/clang-fuzzer/CMakeLists.txtclang.src/tools/clang-fuzzer/CMakeLists.txt
The file was modified/cfe/trunk/tools/clang-fuzzer/ClangFuzzer.cppclang.src/tools/clang-fuzzer/ClangFuzzer.cpp
The file was added/cfe/trunk/tools/clang-fuzzer/ClangObjectiveCFuzzer.cppclang.src/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp
The file was modified/cfe/trunk/tools/clang-fuzzer/Dockerfileclang.src/tools/clang-fuzzer/Dockerfile
The file was modified/cfe/trunk/tools/clang-fuzzer/README.txtclang.src/tools/clang-fuzzer/README.txt
The file was added/cfe/trunk/tools/clang-fuzzer/corpus_examplesclang.src/tools/clang-fuzzer/corpus_examples
The file was added/cfe/trunk/tools/clang-fuzzer/corpus_examples/objcclang.src/tools/clang-fuzzer/corpus_examples/objc
The file was added/cfe/trunk/tools/clang-fuzzer/corpus_examples/objc/BasicClass.mclang.src/tools/clang-fuzzer/corpus_examples/objc/BasicClass.m
The file was added/cfe/trunk/tools/clang-fuzzer/corpus_examples/objc/ClassCategory.mclang.src/tools/clang-fuzzer/corpus_examples/objc/ClassCategory.m
The file was added/cfe/trunk/tools/clang-fuzzer/corpus_examples/objc/ClassExtension.mclang.src/tools/clang-fuzzer/corpus_examples/objc/ClassExtension.m
The file was added/cfe/trunk/tools/clang-fuzzer/corpus_examples/objc/SharedInstance.mclang.src/tools/clang-fuzzer/corpus_examples/objc/SharedInstance.m
The file was modified/cfe/trunk/tools/clang-fuzzer/handle-cxx/handle_cxx.cppclang.src/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp
The file was modified/cfe/trunk/tools/clang-fuzzer/handle-cxx/handle_cxx.hclang.src/tools/clang-fuzzer/handle-cxx/handle_cxx.h
Revision 375452 by qcolombet:
[GISel][CombinerHelper] Add a combine turning shuffle_vector into concat_vectors

Teach the CombinerHelper how to turn shuffle_vectors, that
concatenate vectors, into concat_vectors and add this combine
to the AArch64 pre-legalizer combiner.

Differential Revision: https://reviews.llvm.org/D69149
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/GlobalISel/CombinerHelper.hllvm.src/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/CombinerHelper.cppllvm.src/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modified/llvm/trunk/lib/Target/AArch64/AArch64PreLegalizerCombiner.cppllvm.src/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was added/llvm/trunk/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-shuffle-vector.mirllvm.src/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-shuffle-vector.mir