1. Revert "[OpenMP][AMDGCN] Initial math headers support" (details)
  2. [lldb] [DWARF-5] Be lazier about loading .dwo files (details)
  3. [LoopStrengthReduction] Fix pointer extend asserts (details)
  4. Revert "[hwasan] Detect use after scope within function." (details)
  5. Revert "[profile] Fix profile merging with binary IDs" (details)
  6. [builtins] Try to ensure single copy of emulated TLS state (details)
  7. [libomptarget][nfc] Only set cuda-path for nvptx tests (details)
  8. [mlir][spirv] Fix storing bool with proper storage capabilities (details)
  9. [mlir][spirv] Fix loading bool with proper storage capabilities (details)
  10. [mlir][spirv] Add support for i8 serialization (details)
  11. [libcxx][docs] Take locks on the last three views. (details)
  12. [flang] Produce proper "preprocessor output" for -E option (details)
  13. [sanitizer] Remove cpplint (details)
  14. [libc] Move FPExceptMatcher out of TestHelpers.h (details)
  15. [vscode-mlir] Update package.json in preparation for publishing (details)
  16. [mlir-vscode] Create a proper output channel for the MLIRContext (details)
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 modifiedclang/lib/Headers/__clang_hip_cmath.h
The file was removedclang/test/Headers/Inputs/include/algorithm
The file was removedclang/test/Headers/amdgcn_openmp_device_math.c
The file was modifiedclang/lib/Headers/__clang_hip_math.h
The file was removedclang/test/Headers/Inputs/include/utility
The file was modifiedclang/lib/Headers/openmp_wrappers/cmath
The file was modifiedclang/test/Headers/Inputs/include/cstdlib
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
The file was modifiedclang/lib/Headers/openmp_wrappers/math.h
The file was modifiedclang/test/Headers/openmp_device_math_isnan.cpp
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:
The file was modifiedlldb/source/Symbol/CompileUnit.cpp
The file was modifiedlldb/include/lldb/Symbol/CompileUnit.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was addedlldb/test/Shell/SymbolFile/DWARF/split-optimized.c
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
The file was addedlldb/test/Shell/SymbolFile/DWARF/dwarf5-lazy-dwo.c
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/lit.local.cfg
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/x86/dwp.s
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:
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.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-inlined.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-temp2.cpp
The file was removedcompiler-rt/test/hwasan/TestCases/stack-uas.c
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-if.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-types.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-goto.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-temp.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-nobug.cpp
The file was removedllvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-loop-removed.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/use-after-scope-dtor-order.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 modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
The file was modifiedcompiler-rt/include/profile/
The file was modifiedcompiler-rt/test/profile/Linux/binary-id.c
The file was modifiedllvm/include/llvm/ProfileData/
The file was modifiedcompiler-rt/lib/profile/InstrProfilingBuffer.c
The file was modifiedllvm/lib/ProfileData/InstrProfReader.cpp
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
( 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:
The file was modifiedcompiler-rt/lib/builtins/emutls.c
Commit 567c8c7bfd7a0bbafa84171e5edcc3e79fe5f8ca by jonathanchesterfield
[libomptarget][nfc] Only set cuda-path for nvptx tests

from the invocation of non-nvptx test cases. Better signal
to noise ratio on other architectures.

Reviewed By: tianshilei1992

Differential Revision:
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:
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.cpp
The file was modifiedmlir/include/mlir/Conversion/
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
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:
The file was modifiedmlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
Commit 233a3a75ac5656257377f18f9346d407122e61b2 by antiagainst
[mlir][spirv] Add support for i8 serialization

Reviewed By: hanchung

Differential Revision:
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:
The file was modifiedflang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedflang/test/Preprocessing/pp037.F
The file was modifiedflang/tools/f18-parse-demo/f18-parse-demo.cpp
The file was modifiedflang/test/Preprocessing/fixed-rescan.F
The file was modifiedflang/include/flang/Frontend/FrontendOptions.h
The file was modifiedflang/test/Preprocessing/pp036.F
The file was modifiedflang/test/Preprocessing/pp017.F
The file was modifiedflang/test/Preprocessing/pp004.F
The file was modifiedflang/test/Preprocessing/assert.F90
The file was modifiedflang/test/Preprocessing/pp128.F90
The file was modifiedflang/test/Preprocessing/pp043.F
The file was modifiedflang/lib/Parser/token-sequence.h
The file was modifiedflang/test/Preprocessing/pp029.F
The file was modifiedflang/test/Preprocessing/pp126.F90
The file was modifiedflang/test/Preprocessing/pp007.F
The file was modifiedflang/lib/Parser/token-sequence.cpp
The file was modifiedflang/test/Preprocessing/pp025.F
The file was modifiedflang/test/Preprocessing/pp127.F90
The file was modifiedflang/test/Preprocessing/pp028.F
The file was modifiedflang/test/Preprocessing/pp009.F
The file was modifiedflang/test/Preprocessing/pp015.F
The file was modifiedflang/test/Preprocessing/pp101.F90
The file was modifiedflang/test/Driver/macro-multiline.F90
The file was modifiedflang/test/Preprocessing/pp022.F
The file was modifiedflang/test/Preprocessing/pp117.F90
The file was modifiedflang/test/Preprocessing/pp123.F90
The file was modifiedflang/test/Preprocessing/pp125.F90
The file was modifiedflang/test/Preprocessing/pp010.F
The file was modifiedflang/test/Driver/escaped-backslash.f90
The file was modifiedflang/test/Preprocessing/pp012.F
The file was modifiedflang/test/Preprocessing/pp030.F
The file was modifiedflang/test/Preprocessing/pp104.F90
The file was modifiedflang/test/Preprocessing/pp014.F
The file was modifiedflang/test/Driver/include-header.f90
The file was modifiedflang/test/Preprocessing/pp038.F
The file was modifiedflang/test/Driver/fixed-line-length.f90
The file was modifiedflang/test/Driver/input-from-stdin.f90
The file was modifiedflang/test/Preprocessing/pp112.F90
The file was modifiedflang/test/Preprocessing/pp005.F
The file was addedflang/test/Preprocessing/dash-E.F90
The file was modifiedflang/test/Preprocessing/pp033.F
The file was modifiedflang/test/Driver/driver-help-hidden.f90
The file was modifiedflang/test/Preprocessing/pp108.F90
The file was modifiedclang/lib/Driver/ToolChains/Flang.cpp
The file was modifiedflang/test/Driver/fixed-free-detection.f90
The file was modifiedflang/test/Preprocessing/pp003.F
The file was modifiedflang/test/Preprocessing/pp016.F
The file was modifiedflang/test/Preprocessing/hollerith.f
The file was modifiedflang/test/Driver/macro-def-undef.F90
The file was modifiedflang/test/Preprocessing/pp006.F
The file was modifiedflang/test/Preprocessing/pp019.F
The file was modifiedflang/test/Preprocessing/pp115.F90
The file was modifiedflang/lib/Frontend/FrontendOptions.cpp
The file was modifiedflang/test/Preprocessing/pp031.F
The file was modifiedflang/test/Driver/driver-help.f90
The file was modifiedflang/test/Preprocessing/pp024.F
The file was modifiedflang/test/Preprocessing/pp034.F
The file was modifiedflang/include/flang/Parser/parsing.h
The file was modifiedflang/test/Preprocessing/pp118.F90
The file was modifiedflang/test/Preprocessing/pp121.F90
The file was modifiedflang/test/Preprocessing/pp032.F
The file was modifiedflang/test/Preprocessing/pp039.F
The file was modifiedflang/test/Preprocessing/pp021.F
The file was modifiedflang/test/Preprocessing/pp041.F
The file was modifiedflang/test/Preprocessing/pp044.F
The file was modifiedflang/test/Preprocessing/pp026.F
The file was modifiedflang/test/Preprocessing/pp020.F
The file was modifiedflang/unittests/Frontend/FrontendActionTest.cpp
The file was modifiedflang/test/Preprocessing/pp002.F
The file was modifiedflang/lib/Parser/parsing.cpp
The file was modifiedflang/test/Preprocessing/pp013.F
The file was modifiedflang/test/Driver/frontend-forwarding.f90
The file was modifiedclang/include/clang/Driver/
The file was modifiedflang/test/Preprocessing/pp102.F90
The file was modifiedflang/test/Preprocessing/pp107.F90
The file was modifiedflang/test/Preprocessing/pp001.F
The file was modifiedflang/test/Preprocessing/pp027.F
The file was modifiedflang/tools/f18/f18.cpp
The file was modifiedflang/test/Preprocessing/pp008.F
The file was modifiedflang/test/Driver/cpp-nocpp-command-line-macro.f90
The file was modifiedflang/test/Parser/badlabel.f
The file was modifiedflang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
The file was modifiedflang/test/Preprocessing/pp111.F90
The file was modifiedflang/test/Preprocessing/pp018.F
The file was modifiedflang/lib/Frontend/FrontendActions.cpp
The file was modifiedflang/test/Preprocessing/pp116.F90
The file was modifiedflang/test/Preprocessing/pp035.F
The file was modifiedflang/lib/Parser/provenance.cpp
The file was modifiedflang/test/Preprocessing/pp011.F
The file was modifiedflang/test/Preprocessing/pp124.F90
The file was modifiedflang/test/Preprocessing/pp023.F
The file was modifiedflang/include/flang/Frontend/PreprocessorOptions.h
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:
The file was removedcompiler-rt/lib/sanitizer_common/scripts/
The file was removedcompiler-rt/lib/sanitizer_common/scripts/
The file was removedcompiler-rt/lib/sanitizer_common/scripts/
The file was modifiedcompiler-rt/test/sanitizer_common/CMakeLists.txt
The file was removedcompiler-rt/lib/sanitizer_common/scripts/
The file was modifiedcompiler-rt/cmake/Modules/SanitizerUtils.cmake
Commit 3d758e68a766545db0cc92d177d309f0616a67f4 by sivachandra
[libc] Move FPExceptMatcher out of TestHelpers.h

TestHelpers.h pulls few pieces from LLVM libc's unittest framework
which aren't available on platforms like Fuchsia which use their own
unittest framework. So, by moving FPExceptMatcher to a different file
we can exclude LLVM libc specific pieces in a cleaner way.

In a later pass, it might make more sense to rename TestHelpers.h also
to FPMatcher.h. That way, we can make macros like EXPECT_FP_EQ to be
equivalent to EXPECT_EQ on platforms like Fuchsia.

Reviewed By: michaelrj

Differential Revision:
The file was modifiedlibc/test/src/fenv/feholdexcept_test.cpp
The file was modifiedlibc/utils/FPUtil/CMakeLists.txt
The file was addedlibc/utils/FPUtil/FPExceptMatcher.cpp
The file was modifiedlibc/utils/FPUtil/TestHelpers.cpp
The file was modifiedlibc/test/src/fenv/enabled_exceptions_test.cpp
The file was modifiedlibc/utils/FPUtil/TestHelpers.h
The file was addedlibc/utils/FPUtil/FPExceptMatcher.h
Commit 3e5906499ff42fc54c36fcd8c96760be311fc492 by riddleriver
[vscode-mlir] Update package.json in preparation for publishing

Quite a few things were out-of-date, or just not
organized well. This revision updates the extension
name, repo, icon, and many other components in
preperation for publishing the extension to the
The file was modifiedmlir/docs/Tools/
The file was modifiedmlir/utils/vscode/package-lock.json
The file was modifiedmlir/utils/vscode/package.json
Commit 03b2d1a659228bc2fe7972357d9b8b41eda2f558 by riddleriver
[mlir-vscode] Create a proper output channel for the MLIRContext

This allows for reusing the same output channel when the extension reloads after updating the server. Currently, whenever the extension restarts a new output channel is created (which can lead to a large number of seemingly dead output channels).
The file was modifiedmlir/utils/vscode/src/mlirContext.ts
The file was modifiedmlir/utils/vscode/src/extension.ts