UnstableChanges

Summary

  1. [sanitizer] Move cpplint to the end of the build (details)
  2. [sanitizers] Don't run cpplint (details)
Commit ffa52434c1467bdbf1bdba739f1153760900aba2 by Vitaly Buka
[sanitizer] Move cpplint to the end of the build
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh (diff)
Commit 855fdb4cdc09e306370533c0715897e6ac7f3027 by Vitaly Buka
[sanitizers] Don't run cpplint

The script was removed.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh (diff)

Summary

  1. [polly] Fix up regression test config with current features. (details)
  2. Revert "[OpenMP][AMDGCN] Initial math headers support" (details)
  3. [lldb] [DWARF-5] Be lazier about loading .dwo files (details)
  4. [LoopStrengthReduction] Fix pointer extend asserts (details)
  5. Revert "[hwasan] Detect use after scope within function." (details)
  6. Revert "[profile] Fix profile merging with binary IDs" (details)
  7. [builtins] Try to ensure single copy of emulated TLS state (details)
  8. [libomptarget][nfc] Only set cuda-path for nvptx tests (details)
  9. [mlir][spirv] Fix storing bool with proper storage capabilities (details)
  10. [mlir][spirv] Fix loading bool with proper storage capabilities (details)
  11. [mlir][spirv] Add support for i8 serialization (details)
  12. [libcxx][docs] Take locks on the last three views. (details)
  13. [flang] Produce proper "preprocessor output" for -E option (details)
  14. [sanitizer] Remove cpplint (details)
Commit 3f2828dc28575bb5e54010cd121b4c45abe3ad99 by efriedma
[polly] Fix up regression test config with current features.

Primarily, configure substitutions so we can copy-paste the "RUN" line
of failed tests without worrying about the paths.
The file was modifiedpolly/test/lit.site.cfg.in
The file was modifiedpolly/test/lit.cfg
Commit 7f97ddaf8aa0062393e866b63e68c9f74da375fb by jonathanchesterfield
Revert "[OpenMP][AMDGCN] Initial math headers support"

Broke nvptx compilation on files including <complex>

This reverts commit 12da97ea10a941f0123340831300d09a2121e173.
The file was removedclang/test/Headers/Inputs/include/utility
The file was removedclang/test/Headers/amdgcn_openmp_device_math.c
The file was modifiedclang/test/Headers/Inputs/include/cstdlib
The file was modifiedclang/test/Headers/openmp_device_math_isnan.cpp
The file was modifiedclang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
The file was modifiedclang/lib/Headers/__clang_hip_math.h
The file was modifiedclang/lib/Headers/openmp_wrappers/math.h
The file was modifiedclang/lib/Headers/__clang_hip_cmath.h
The file was removedclang/test/Headers/Inputs/include/algorithm
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Headers/openmp_wrappers/cmath
Commit 8dfd6cae9bd62ae5ef056b994ece2e98f1558830 by jan.kratochvil
[lldb] [DWARF-5] Be lazier about loading .dwo files

This change makes sure that DwarfUnit does not load a .dwo file until
necessary. I also take advantage of DWARF 5's guarantee that the first
support file is also the primary file to make it possible to create
a compile unit without loading the .dwo file.

Review By: jankratochvil, dblaikie

Differential Revision: https://reviews.llvm.org/D100299
The file was addedlldb/test/Shell/SymbolFile/DWARF/dwarf5-lazy-dwo.c
The file was addedlldb/test/Shell/SymbolFile/DWARF/split-optimized.c
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/lit.local.cfg
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/x86/dwp.s
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
Commit c4c379d633a136d544436d01c77d75c094d90b12 by brendon.cahoon
[LoopStrengthReduction] Fix pointer extend asserts

Additional asserts were added to ScalarEvolution to enforce
pointer/int type rules. An assert is triggered when the LSR pass
attempts to extend a pointer SCEV in GenerateTruncates.

This patch changes GenerateTruncates to exit early if the Formaula
contains a ScaledReg or BaseReg with a pointer type.

Differential Revision: https://reviews.llvm.org/D107185
The file was addedllvm/test/Transforms/LoopStrengthReduce/AMDGPU/lsr-invalid-ptr-extend.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Commit b5b023638ad738397bc8ba53dfe95c30ad4cc9fa by fmayer
Revert "[hwasan] Detect use after scope within function."

This reverts commit 84705ed913659d1d5e0ee6b5ae7b298914ec87d4.
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-goto.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-nobug.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-loop-removed.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-types.cpp
The file was removedllvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-inlined.cpp
The file was removedcompiler-rt/test/hwasan/TestCases/stack-uas.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-dtor-order.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-loop.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-if.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-temp.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-capture.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-loop-bug.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-temp2.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope.cpp
Commit 6ea2f31f3d7024c22c619956b13bafe945d11ca1 by phosek
Revert "[profile] Fix profile merging with binary IDs"

This reverts commit 89d6eb6f8c5d94093f30a5f37b193a2422491642, this
seemed to have break a few builders.
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
The file was modifiedcompiler-rt/test/profile/Linux/binary-id.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedcompiler-rt/include/profile/InstrProfData.inc
Commit b8f04a670f27a84412099dd025fa762ee58f4c1a by smeenai
[builtins] Try to ensure single copy of emulated TLS state

Multiple copies of emulated TLS state means inconsistent results when
accessing the same thread-local variable from different shared objects
(https://github.com/android/ndk/issues/1551). Making `__emutls_get_address`
be a weak default visibility symbol should make the dynamic linker
ensure only a single copy gets used at runtime. This is best-effort, but
the more robust approach of putting emulated TLS into its own shared
object would (a) be a much bigger change, and (b) shared objects are
pretty heavyweight, and adding a new one to a space-constrained
environment isn't an easy sell. Given the expected rarity of direct
accesses to emulated TLS variables across different shared objects, the
best-effort approach should suffice.

Reviewed By: danalbert, rprichard

Differential Revision: https://reviews.llvm.org/D107127
The file was modifiedcompiler-rt/lib/builtins/emutls.c
Commit 567c8c7bfd7a0bbafa84171e5edcc3e79fe5f8ca by jonathanchesterfield
[libomptarget][nfc] Only set cuda-path for nvptx tests

Remove --cuda-path=CUDA_TOOLKIT_ROOT_DIR-NOTFOUND
from the invocation of non-nvptx test cases. Better signal
to noise ratio on other architectures.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D107074
The file was modifiedopenmp/libomptarget/test/lit.cfg
Commit 9f5300c8be4576d93256b88d195a1eb44de189f6 by antiagainst
[mlir][spirv] Fix storing bool with proper storage capabilities

If the source value to store is bool, and we have native storage
capability support for the target bitwidth, we still cannot directly
store; we need to perform casting to match the target memref
element's bitwidth.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107114
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.cpp
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
The file was modifiedmlir/include/mlir/Conversion/Passes.td
Commit 0065bd2ad59cd05f0ca762a1cb586d3bfe809f2e by antiagainst
[mlir][spirv] Fix loading bool with proper storage capabilities

If the source value to load is bool, and we have native storage
capability support for the source bitwidth, we still cannot directly
rewrite uses; we need to perform casting to bool first.

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107119
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
Commit 233a3a75ac5656257377f18f9346d407122e61b2 by antiagainst
[mlir][spirv] Add support for i8 serialization

Reviewed By: hanchung

Differential Revision: https://reviews.llvm.org/D107122
The file was modifiedmlir/test/Target/SPIRV/constant.mlir
The file was modifiedmlir/lib/Target/SPIRV/Serialization/Serializer.cpp
Commit 3df649e6191516547c6ddbcf26d507cd9b824519 by zoecarver
[libcxx][docs] Take locks on the last three views.
The file was modifiedlibcxx/docs/Status/RangesPaper.csv
Commit 3338ef93b02837edf69abc203e15a42fa55aa1b3 by pklausler
[flang] Produce proper "preprocessor output" for -E option

Rename the current -E option to "-E -Xflang -fno-reformat".

Add a new Parsing::EmitPreprocessedSource() routine to convert the
cooked character stream output of the prescanner back to something
more closely resembling output from a traditional preprocessor;
call this new routine when -E appears.

The new -E output is suitable for use as fixed form Fortran source to
compilation by (one hopes) any Fortran compiler.  If the original
top-level source file had been free form source, the output will be
suitable for use as free form source as well; otherwise there may be
diagnostics about missing spaces if they were indeed absent in the
original fixed form source.

Unless the -P option appears, #line directives are interspersed
with the output (but be advised, f18 will ignore these if presented
with them in a later compilation).

An effort has been made to preserve original alphabetic character case
and source indentation.

Add -P and -fno-reformat to the new drivers.

Tweak test options to avoid confusion with prior -E output; use
-fno-reformat where needed, but prefer to keep -E, sometimes
in concert with -P, on most, updating expected results accordingly.

Differential Revision: https://reviews.llvm.org/D106727
The file was modifiedflang/test/Preprocessing/pp013.F
The file was modifiedflang/test/Driver/fixed-line-length.f90
The file was modifiedflang/test/Preprocessing/pp025.F
The file was modifiedflang/test/Preprocessing/assert.F90
The file was modifiedflang/tools/f18-parse-demo/f18-parse-demo.cpp
The file was modifiedflang/test/Preprocessing/pp004.F
The file was modifiedflang/test/Preprocessing/pp021.F
The file was modifiedflang/test/Preprocessing/pp019.F
The file was modifiedflang/test/Preprocessing/pp011.F
The file was modifiedflang/test/Preprocessing/hollerith.f
The file was modifiedflang/tools/f18/f18.cpp
The file was modifiedflang/test/Driver/macro-def-undef.F90
The file was addedflang/test/Preprocessing/dash-E.F90
The file was modifiedflang/test/Preprocessing/pp006.F
The file was modifiedflang/test/Preprocessing/pp116.F90
The file was modifiedflang/test/Preprocessing/pp123.F90
The file was modifiedflang/lib/Frontend/FrontendOptions.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedflang/include/flang/Frontend/FrontendOptions.h
The file was modifiedflang/test/Preprocessing/pp005.F
The file was modifiedflang/test/Preprocessing/pp034.F
The file was modifiedflang/test/Preprocessing/pp126.F90
The file was modifiedflang/test/Preprocessing/pp026.F
The file was modifiedflang/test/Driver/frontend-forwarding.f90
The file was modifiedflang/test/Driver/macro-multiline.F90
The file was modifiedflang/test/Preprocessing/pp041.F
The file was modifiedclang/lib/Driver/ToolChains/Flang.cpp
The file was modifiedflang/include/flang/Frontend/PreprocessorOptions.h
The file was modifiedflang/test/Preprocessing/pp015.F
The file was modifiedflang/test/Preprocessing/pp039.F
The file was modifiedflang/include/flang/Parser/parsing.h
The file was modifiedflang/lib/Frontend/FrontendActions.cpp
The file was modifiedflang/test/Driver/driver-help.f90
The file was modifiedflang/test/Preprocessing/pp118.F90
The file was modifiedflang/unittests/Frontend/FrontendActionTest.cpp
The file was modifiedflang/lib/Parser/token-sequence.h
The file was modifiedflang/test/Preprocessing/pp020.F
The file was modifiedflang/test/Preprocessing/pp028.F
The file was modifiedflang/test/Preprocessing/pp035.F
The file was modifiedflang/test/Preprocessing/pp029.F
The file was modifiedflang/test/Preprocessing/pp032.F
The file was modifiedflang/test/Driver/cpp-nocpp-command-line-macro.f90
The file was modifiedflang/test/Preprocessing/pp107.F90
The file was modifiedflang/test/Preprocessing/pp012.F
The file was modifiedflang/test/Preprocessing/pp008.F
The file was modifiedflang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedflang/test/Preprocessing/pp030.F
The file was modifiedflang/test/Preprocessing/pp003.F
The file was modifiedflang/test/Preprocessing/pp108.F90
The file was modifiedflang/test/Driver/input-from-stdin.f90
The file was modifiedflang/test/Preprocessing/pp111.F90
The file was modifiedflang/lib/Parser/provenance.cpp
The file was modifiedflang/test/Preprocessing/pp024.F
The file was modifiedflang/test/Preprocessing/fixed-rescan.F
The file was modifiedflang/test/Preprocessing/pp031.F
The file was modifiedflang/test/Preprocessing/pp128.F90
The file was modifiedflang/test/Preprocessing/pp124.F90
The file was modifiedflang/test/Preprocessing/pp101.F90
The file was modifiedflang/test/Preprocessing/pp117.F90
The file was modifiedflang/test/Preprocessing/pp125.F90
The file was modifiedflang/test/Preprocessing/pp102.F90
The file was modifiedflang/lib/Parser/token-sequence.cpp
The file was modifiedflang/test/Driver/driver-help-hidden.f90
The file was modifiedflang/test/Preprocessing/pp022.F
The file was modifiedflang/test/Preprocessing/pp007.F
The file was modifiedflang/test/Preprocessing/pp010.F
The file was modifiedflang/test/Preprocessing/pp121.F90
The file was modifiedflang/test/Preprocessing/pp127.F90
The file was modifiedflang/test/Preprocessing/pp009.F
The file was modifiedflang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was modifiedflang/test/Preprocessing/pp027.F
The file was modifiedflang/test/Preprocessing/pp016.F
The file was modifiedflang/test/Driver/escaped-backslash.f90
The file was modifiedflang/test/Preprocessing/pp043.F
The file was modifiedflang/test/Preprocessing/pp112.F90
The file was modifiedflang/test/Preprocessing/pp104.F90
The file was modifiedflang/test/Preprocessing/pp036.F
The file was modifiedflang/test/Preprocessing/pp038.F
The file was modifiedflang/test/Preprocessing/pp014.F
The file was modifiedflang/test/Parser/badlabel.f
The file was modifiedflang/lib/Parser/parsing.cpp
The file was modifiedflang/test/Preprocessing/pp017.F
The file was modifiedflang/test/Preprocessing/pp037.F
The file was modifiedflang/test/Preprocessing/pp044.F
The file was modifiedflang/test/Preprocessing/pp018.F
The file was modifiedflang/test/Preprocessing/pp001.F
The file was modifiedflang/test/Preprocessing/pp033.F
The file was modifiedflang/test/Preprocessing/pp023.F
The file was modifiedflang/test/Preprocessing/pp002.F
The file was modifiedflang/test/Driver/fixed-free-detection.f90
The file was modifiedflang/test/Driver/include-header.f90
The file was modifiedflang/test/Preprocessing/pp115.F90
Commit f08229f49e0cc92d8687661e85be3ba31b964e69 by Vitaly Buka
[sanitizer] Remove cpplint

As code diverge from Google style we need
to add more and more exceptions to suppress
conflicts with clang-format and clang-tidy.
As this point it does not provide a additional value.

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D107197
The file was removedcompiler-rt/lib/sanitizer_common/scripts/litlint.py
The file was removedcompiler-rt/lib/sanitizer_common/scripts/litlint_test.py
The file was modifiedcompiler-rt/test/sanitizer_common/CMakeLists.txt
The file was modifiedcompiler-rt/cmake/Modules/SanitizerUtils.cmake
The file was removedcompiler-rt/lib/sanitizer_common/scripts/cpplint.py
The file was removedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh

Summary

  1. [sanitizer] Move cpplint to the end of the build (details)
  2. [sanitizers] Don't run cpplint (details)
Commit ffa52434c1467bdbf1bdba739f1153760900aba2 by Vitaly Buka
[sanitizer] Move cpplint to the end of the build
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh
Commit 855fdb4cdc09e306370533c0715897e6ac7f3027 by Vitaly Buka
[sanitizers] Don't run cpplint

The script was removed.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh