Changes

Summary

  1. [PowerPC] Implement more fusion types for Power10 (details)
  2. [SDAG] Use UnknownSize for masked load/store MMO size (details)
  3. Revert "Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td."" (details)
  4. [ThreadPool] Do not return shared futures. (details)
  5. [DSE][NFC] Introduce "doesn't overwrite" return code for isOverwrite (details)
  6. [clang-format] [PR52527] can join * with /* to form an outside of comment error C4138 (details)
  7. [clang-format] [NFC] build clang-format with -Wall (details)
  8. tsan: new runtime (v3) (details)
  9. [AMDGPU] Fix the name of a test case (details)
  10. [lldb] Fix lookup for global constants in namespaces (details)
  11. [fir] Set !fir.len_param_index conversion to unimplemented (details)
  12. [mlir][linalg][bufferize][NFC] Specify bufferize traversal in `bufferize` (details)
  13. [mlir][Vector] Thread 0-d vectors through ExtractElementOp. (details)
  14. [mlir][Vector] Thread 0-d vectors through InsertElementOp. (details)
  15. Revert "The _Float16 type is supported on x86 systems with SSE2 enabled." (details)
  16. [ARM] Expand rev.ll test with more triples. NFC (details)
  17. [libc++] Tidy up how %T and %t are created during configuration checks (details)
  18. [InstCombine] add tests for logical select; NFC (details)
  19. [InstCombine] enhance bitwise select matching (details)
  20. [PowerPC] Remove FreeBSD test in mm-malloc.c due to cross-compilation limitation (details)
  21. [HIP] Add HIP scope atomic operations (details)
  22. [Analyzer][Core] Better simplification in SimpleSValBuilder::evalBinOpNN (details)
  23. [VP] Canonicalize macros of VPIntrinsics.def (details)
  24. Fix warning due to default switch label (details)
  25. [NFC] Let Microsoft mangler accept GlobalDecl (details)
  26. [AMDGPU] Enable fneg and fabs divergence-driven instruction selection. (details)
  27. [PS4][TLI] Remove redundant line (details)
  28. [llvm] Use range-based for loops (NFC) (details)
  29. [lldb] Deflake TestTsanBasic.py (details)
  30. tsan: disable signal_sync2.cpp test on powerpc64 (details)
  31. [unroll] Use early return in shouldFullUnroll [nfc] (details)
  32. [HIP] Fix device stub name for Windows (details)
  33. profi - a flow-based profile inference algorithm: Part I (out of 3) (details)
  34. [unroll] Remove two dead variable assignments [nfc] (details)
  35. Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)" (details)
  36. [LAA] Turn aggregate type check into assertion (NFCI). (details)
  37. [PowerPC] Add BCD add/sub/cmp builtins (details)
  38. [indvars] Fix lftr crash when preheader is terminated by switch (details)
  39. [compiler-rt/profile] Include __llvm_profile_get_magic in module signature (details)
  40. [llvm][NFC] Inclusive language: Reword replace uses of sanity in llvm/lib/Transform comments and asserts (details)
  41. [ELF] Support non-RAX/non-adjacent R_X86_64_GOTPC32_TLSDESC/R_X86_64_TLSDESC_CALL (details)
  42. [mlir][sparse] Moving integration tests that merely use the Python API (details)
  43. profi - a flow-based profile inference algorithm: Part I (out of 3) (details)
  44. [NFC][llvm] Inclusive language: remove instance of master in LiveRangeUtils.h (details)
  45. [gn build] Port 884b6dd31142 (details)
  46. [InstCombine] Add test cases for D114339; NFC (details)
  47. [mlir][Linalg] Add pad vectorization patterns into LinalgStrategyVectorize passes. (details)
  48. Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)" (details)
  49. [gn build] Port 1392b654ff65 (details)
  50. [mlir][tosa] Separate tosa.transpose_conv decomposition and added stride support (details)
  51. [mlir][tosa] Materialize tosa.pad value and fold noop pads (details)
  52. [InstSimplify] add tests for xor logic fold; NFC (details)
  53. [NFC][sanitizer] Move StackStore::Allocated into cpp file (details)
  54. [NFC][sanitizer] Early return for empty StackTraces (details)
  55. [lldb] Move create_relative_symlink function up in CMake hierarchy (details)
  56. [NFC][sanitizer] Add StackStoreTest (details)
  57. [SampleFDO] Recompute BFI if the sample loader changes BPI (details)
  58. [NFC][sanitizer] Extract StackTraceHeader struct (details)
  59. [NFC][sanitizer] Make method const (details)
  60. [InstSimplify] fold xor logic of 2 variables (details)
  61. Improve optional formatter (details)
  62. Make some libstd++ formatters safer (details)
  63. [formatters] Capping size limitation avoidance for the libcxx and libcpp bitset data formatters. (details)
  64. Move dependency llvm:AllTargetsAsmParsers from Translation to ExecutionEngine. (details)
  65. [formatters] List and forward_list capping_size determination and application (details)
  66. Fix a48501150b9ef64fd61d24f8cef2645237facc44 (details)
  67. [LAA] Move visitPointers up in file (NFC). (details)
  68. PrologEpilogInserter: Use explicit control for scavenge slot placement (details)
  69. [PowerPC] Allow scalars for asm constraint "v" with VSX (details)
  70. [sanitizer] Add DenseMap::forEach (details)
  71. [NFC][sanitizer] Reuse forEach for operator== (details)
  72. [stack-safety] Check SCEV constraints at memory instructions. (details)
  73. [hwasan] support python3 in hwasan_sanitize (details)
  74. [mlir][spirv] Add math to OpenCL conversion (details)
  75. [AMDGPU] Remove a no-op check in the gfx90a hazard recognizer (details)
  76. [NFC][sanitizer] Test for b80affb8a149 (details)
  77. [NFC][sanitizer] Limit StackStore stack size/tag to 1 byte (details)
  78. [LLDB][NativePDB] Allow find functions by full names (details)
  79. Update fir.insert_on_range syntax to make the range more explicit (NFC) (details)
  80. Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values.""""" (details)
  81. Revert "[Taildup] Don't tail-duplicate loop header with multiple successors as its latches" (details)
  82. [mlir][sparse] Adding wrappers for constantOverheadTypeEncoding (details)
  83. [MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name (details)
  84. Revert "tsan: new runtime (v3)" (details)
Commit 59f4b3d3081535b61609f12ea5f638905616fcbc by qiucofan
[PowerPC] Implement more fusion types for Power10

This implements the rest of Power10 instruction fusion pairs, according
to user manual, including 'wide immediate', 'load compare', 'zero move'
and 'SHA3 assist'.

Only 'SHA3 assist' is enabled by default.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D112912
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
The file was modifiedllvm/lib/Target/PowerPC/PPCMacroFusion.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCMacroFusion.def
The file was modifiedllvm/test/CodeGen/PowerPC/macro-fusion.mir
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
Commit 32b6c17b29079e7d2ac61cdc90b10983ee97d78d by david.green
[SDAG] Use UnknownSize for masked load/store MMO size

A masked load or store will load a potentially unknown number of bytes
from a memory location - that is not generally known at compile time.
They do not necessarily load/store the entire vector width, and treating
them as such can lead to incorrect aliasing information (for example, if
the underlying object is smaller than the size of the vector).

This makes sure that the MMO is given an unknown size to represent this.
which is less accurate that "may load/store from up to 16 bytes", but
less incorrect that "will load/store from 16 bytes".

Differential Revision: https://reviews.llvm.org/D113888
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store-mmo.ll
The file was modifiedllvm/test/CodeGen/X86/vmaskmov-offset.ll
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/X86/masked_compressstore.ll
Commit c7cc70c8f87789ba04a8610162de4ad135d99e16 by pifon
Revert "Revert "[mlir] Move AllocationOpInterface to Bufferize/IR/AllocationOpInterface.td.""

This reverts and fixes commit de18b7dee6a81e5e790c8e8060065b1ef72d13ed.
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.h
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was addedmlir/include/mlir/Dialect/Bufferization/IR/AllocationOpInterface.td
The file was addedmlir/lib/Dialect/Bufferization/IR/AllocationOpInterface.cpp
The file was modifiedmlir/lib/Dialect/CMakeLists.txt
The file was addedmlir/include/mlir/Dialect/Bufferization/CMakeLists.txt
The file was addedmlir/lib/Dialect/Bufferization/CMakeLists.txt
The file was modifiedmlir/lib/Transforms/BufferDeallocation.cpp
The file was modifiedmlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
The file was addedmlir/lib/Dialect/Bufferization/IR/CMakeLists.txt
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit a5fff58781f30ff3fd7a3f56948552cf7b8842bb by flo
[ThreadPool] Do not return shared futures.

The only users of returned futures from ThreadPool is llvm-reduce after
D113857.

There should be no cases where multiple threads wait on the same future,
so there should be no need to return std::shared_future<>. Instead return
plain std::future<>.

If users need to share a future between multiple threads, they can share
the futures themselves.

Reviewed By: Meinersbur, mehdi_amini

Differential Revision: https://reviews.llvm.org/D114363
The file was modifiedmlir/include/mlir/IR/Threading.h
The file was modifiedllvm/include/llvm/Support/ThreadPool.h
Commit 47e2644c89b3be6faa0f5cc4c70ef96ec295da9a by ybrevnov
[DSE][NFC] Introduce "doesn't overwrite" return code for isOverwrite

Add OR_None code to indicate that there is no overwrite. This has no any effect for current uses but will be used in one of the next patches building support for PHI translation.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D105098
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit e7cb3283c8032d89e81b3958b0fd73064ed5e839 by mydeveloperday
[clang-format] [PR52527] can join * with /* to form an outside of comment error C4138

https://bugs.llvm.org/show_bug.cgi?id=52527

The follow patch ensures there is always a space between * and /* to prevent transforming
```
void foo(* /* comment */)(int bar);
```
into
```
void foo(*/* comment */)(int bar);
```

Differential Revision: https://reviews.llvm.org/D114142
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 1cb3cfd932a0f26e5bfc5d944f63239242fa8ec3 by mydeveloperday
[clang-format] [NFC] build clang-format with -Wall

When building clang-format with -Wall on Visual Studio 20119 we see the following, prevent this the only -Wall error
```
..FormatTokenLexer.cpp(45) : warning C4868: compiler may not enforce left-to-right evaluation order in braced initializer list
```
Reviewed By: HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D113844
The file was modifiedclang/lib/Format/FormatTokenLexer.cpp
Commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28 by dvyukov
tsan: new runtime (v3)

This change switches tsan to the new runtime which features:
- 2x smaller shadow memory (2x of app memory)
- faster fully vectorized race detection
- small fixed-size vector clocks (512b)
- fast vectorized vector clock operations
- unlimited number of alive threads/goroutimes

Differential Revision: https://reviews.llvm.org/D112603
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/test/tsan/free_race2.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_flags_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/test/tsan/bench_threads.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.inc
The file was modifiedcompiler-rt/test/tsan/memcmp_race.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h
The file was modifiedcompiler-rt/lib/tsan/check_analyze.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
The file was modifiedcompiler-rt/test/tsan/memcpy_race.cpp
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_shadow.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_stack_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
The file was removedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
Commit 5ee625bf6b5ee6dcbe4b3eea4d41894a35b58fa8 by jay.foad
[AMDGPU] Fix the name of a test case
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.mulo.ll
Commit f66b69a3925c547b1ee8ea93800f4bf7e31f407b by weratt
[lldb] Fix lookup for global constants in namespaces

LLDB uses mangled name to construct a fully qualified name for global
variables. Sometimes DW_TAG_linkage_name attribute is missing from
debug info, so LLDB has to rely on parent entries to construct the
fully qualified name.

Currently, the fallback is handled when the parent DW_TAG is either
DW_TAG_compiled_unit or DW_TAG_partial_unit, which may not work well
for global constants in namespaces. For example:

  namespace ns {
    const int x = 10;
  }

may produce the following debug info:

  <1><2a>: Abbrev Number: 2 (DW_TAG_namespace)
     <2b>   DW_AT_name        : (indirect string, offset: 0x5e): ns
  <2><2f>: Abbrev Number: 3 (DW_TAG_variable)
     <30>   DW_AT_name        : (indirect string, offset: 0x61): x
     <34>   DW_AT_type        : <0x3c>
     <38>   DW_AT_decl_file   : 1
     <39>   DW_AT_decl_line   : 2
     <3a>   DW_AT_const_value : 10

Since the fallback didn't handle the case when parent tag is
DW_TAG_namespace, LLDB wasn't able to match the variable by its fully
qualified name "ns::x". This change fixes this by additional check
if the parent is a DW_TAG_namespace.

Reviewed By: werat, clayborg

Differential Revision: https://reviews.llvm.org/D112147
The file was modifiedlldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
The file was modifiedlldb/test/API/lang/cpp/global_variables/main.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit cdc476ab2f7d4aaabdd220f94c6446afdb6a339d by diana.picus
[fir] Set !fir.len_param_index conversion to unimplemented

This patch is part of the upstreaming effort from fir-dev.

The conversion of len_param_index in fir-dev is incomplete, so for now
we're marking this as unimplemented until we can settle on a design for
the runtime support of LEN parameters.

Differential Revision: https://reviews.llvm.org/D114241

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
The file was modifiedflang/test/Fir/convert-to-llvm-invalid.fir
Commit f24d9313cc9fe9f6cd70f606c1dc8f8213587468 by springerm
[mlir][linalg][bufferize][NFC] Specify bufferize traversal in `bufferize`

The interface method `bufferize` controls how (and it what order) nested ops are traversed. This simplifies bufferization of scf::ForOps and scf::IfOps, which used to need special rules in scf::YieldOp.

Differential Revision: https://reviews.llvm.org/D114057
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
The file was modifiedmlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp
Commit e7026aba004934cad5487256601af7690757d09f by nicolas.vasilache
[mlir][Vector] Thread 0-d vectors through ExtractElementOp.

This revision starts making concrete use of 0-d vectors to extend the semantics of
ExtractElementOp.
In the process a new VectorOfAnyRank Tablegen OpBase.td is added to allow progressive transition to supporting 0-d vectors by gradually opting in.

Differential Revision: https://reviews.llvm.org/D114387
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was addedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Commit 3ff4e5f2a4a6a0e124356b2ad8793270ebbb16c1 by nicolas.vasilache
[mlir][Vector] Thread 0-d vectors through InsertElementOp.

This revision makes concrete use of 0-d vectors to extend the semantics of
InsertElementOp.

Reviewed By: dcaballe, pifon2a

Differential Revision: https://reviews.llvm.org/D114388
The file was modifiedmlir/test/Dialect/Vector/ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorOps.td
The file was modifiedmlir/test/Dialect/Vector/invalid.mlir
The file was modifiedmlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
Commit fd759d42c9f84d16efa99a59620cbb3e6836fed4 by zahira.ammarguellat
Revert "The _Float16 type is supported on x86 systems with SSE2 enabled."

This reverts commit 6623c02d70c3732dbea59c6d79c69501baf9627b.
The change seems to be breaking build of compiler-rt on Debian.
The file was removedclang/test/CodeGen/X86/Float16-arithmetic.c
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/test/Sema/conversion-target-dep.c
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was addedclang/test/CodeGen/X86/avx512fp16-abi.c
The file was removedclang/test/CodeGen/X86/fp16-complex.c
The file was modifiedclang/test/SemaCXX/Float16.cpp
The file was addedclang/test/CodeGen/X86/avx512fp16-complex.c
The file was modifiedclang/docs/ReleaseNotes.rst
The file was removedclang/test/CodeGen/X86/fp16-abi.c
The file was modifiedclang/test/Sema/Float16.c
Commit 871418c5b0d0b6b61c24e3523bcb176c4c571217 by david.green
[ARM] Expand rev.ll test with more triples. NFC

Useful in showing Thumb2 and Thumb1 rev instructions as well as the arm
already tested, as well as testing the more canonical llvm.bswap.i16
form.
The file was modifiedllvm/test/CodeGen/ARM/rev.ll
Commit 13fa4fcfe70eaf5fdef6f8520fe134ac1d9955b1 by Louis Dionne
[libc++] Tidy up how %T and %t are created during configuration checks

Instead of having ad-hoc cleanup in various places, handle all creation
and removal of temporary files and directories inside _makeConfigTest.

As a fly-by, also remove testPrefix since we don't keep any source file
around anymore. Setting a prefix for the files is hence not useful anymore.

Differential Revision: https://reviews.llvm.org/D114390
The file was modifiedlibcxx/utils/libcxx/test/dsl.py
Commit e6cd157407a24f7be1c15dbf949bac98400ff96d by spatel
[InstCombine] add tests for logical select; NFC
The file was modifiedllvm/test/Transforms/InstCombine/logical-select.ll
Commit 430ad9697d143b4c408acf0d0d01c17830ac2bb3 by spatel
[InstCombine] enhance bitwise select matching

I noticed that adding a seemingly unrelated fold for xor caused
regressions on similar patterns, and this is one of the
underlying causes.

This could also be a variation for code as seen in:
https://llvm.org/PR34047
...although that exact example should be fixed after:
D113035 / c36b7e21bd8f

The vector test shows that we are actually missing a potential
canonicalization for bitcast-of-sext-of-not or the inverse.
The scalar test shows that even if we had that canonicalization,
it would still be possible to see this pattern due to extra uses.

https://alive2.llvm.org/ce/z/y2BAgi
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/logical-select.ll
Commit b0784d1d14246e5d662172e9af6e85776b81fdf0 by Jinsong Ji
[PowerPC] Remove FreeBSD test in mm-malloc.c due to cross-compilation limitation

Fix failures on powerpc BE buildbots
https://lab.llvm.org/buildbot/#/builders/93/builds/6031
https://lab.llvm.org/buildbot/#/builders/100/builds/10836
https://lab.llvm.org/buildbot/#/builders/52/builds/12719
The file was modifiedclang/test/CodeGen/ppc-mm-malloc.c
Commit e13246a2ec3dfc13838d43099ca9111c780d2c5e by Yaxun.Liu
[HIP] Add HIP scope atomic operations

Add an AtomicScopeModel for HIP and support for OpenCL builtins
that are missing in HIP.

Patch by: Michael Liao

Revised by: Anshil Ghandi

Reviewed by: Yaxun Liu

Differential Revision: https://reviews.llvm.org/D113925
The file was addedclang/test/CodeGenCUDA/atomic-ops.cu
The file was modifiedclang/include/clang/Basic/SyncScope.h
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/include/clang/Basic/Builtins.def
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 12887a202404471ddf77f9fae658700573cbebe8 by gabor.marton
[Analyzer][Core] Better simplification in SimpleSValBuilder::evalBinOpNN

Make the SValBuilder capable to simplify existing
SVals based on a newly added constraints when evaluating a BinOp.

Before this patch, we called `simplify` only in some edge cases.
However, we can and should investigate the constraints in all cases.

Differential Revision: https://reviews.llvm.org/D113753
The file was modifiedclang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
The file was addedclang/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp
Commit 1e65b93f3ac9974672402111cf2e06bf0901dbc9 by simon.moll
[VP] Canonicalize macros of VPIntrinsics.def

Usage and naming of macros in VPIntrinsics.def has been inconsistent. Rename all property macros to VP_PROPERTY_<name>.  Use BEGIN/END scope macros to attach properties to vp intrinsics and SDNodes (instead of specifying either directly with the property macro).
A follow-up patch has documentation on how the macros are (intended) to be used.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D114144
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
The file was modifiedllvm/unittests/IR/VPIntrinsicTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/include/llvm/IR/VPIntrinsics.def
Commit aa9b90ca441d09969cab5555158f1db6341de3c1 by Yaxun.Liu
Fix warning due to default switch label

Fix warning due to default label in switch which covers all enumeration values
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit b472bd855ed85691d0d03ef1808c82b780d23721 by Yaxun.Liu
[NFC] Let Microsoft mangler accept GlobalDecl

This is a follow up of https://reviews.llvm.org/D75700
where support of GlobalDecl with Microsoft mangler
is incomplete.

Reviewed by: Artem Belevich, Reid Kleckner

Differential Revision: https://reviews.llvm.org/D113490
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
Commit 9e03e8c99ec57e91cd146dfaa6c5cadde4600d32 by Alexander Timofeev
[AMDGPU] Enable fneg and fabs divergence-driven instruction selection.

Detailed description: We currently have a set of patterns to select ISD::FNEG and ISD::FABS to the bitwise operations.  We need to make them predicated to select the VALU or SALU bitwise operation variant according to the SDNode divergence bit.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D114257
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
The file was addedllvm/test/CodeGen/AMDGPU/fneg-fabs-divergence-driven-isel.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptosi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg-fabs.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fneg.f64.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/fabs.f64.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
Commit c075566c8df081c965b690997a06020e1abec962 by paul.robinson
[PS4][TLI] Remove redundant line
The file was modifiedllvm/lib/Analysis/TargetLibraryInfo.cpp
Commit d45cb1d7ea911f43922c7f07e2c819cc8592a70d by kazu
[llvm] Use range-based for loops (NFC)
The file was modifiedllvm/lib/Target/Hexagon/HexagonStoreWidening.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
The file was modifiedllvm/lib/CodeGen/RegisterCoalescer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenInsert.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit a114f151930d29967963fd22f328a906638a2818 by dvyukov
[lldb] Deflake TestTsanBasic.py

The test flaked on bots:
http://green.lab.llvm.org/green/job/lldb-cmake/38666/
The test expects that tsan will detect a single race
with concurrent memory accesses. TSan doesn't do this reliably.
Run 100 iterations of the racing threads, which should
make the race much more likely to be detected.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D114444
The file was modifiedlldb/test/API/functionalities/tsan/basic/main.c
Commit d75ed9864acb15d1543e839fe4627c9b1d867c22 by dvyukov
tsan: disable signal_sync2.cpp test on powerpc64

Fails 1 out of 10 runs on powerpc bots:
https://lab.llvm.org/buildbot/#/builders/121/builds/13391

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D114426
The file was modifiedcompiler-rt/test/tsan/signal_sync2.cpp
Commit 5c77aa2b917c5b21b3f9c6d355ca2f9a0a81b95d by listmail
[unroll] Use early return in shouldFullUnroll [nfc]
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 38211bbab1d949f682271abba0171424a5a335ab by Yaxun.Liu
[HIP] Fix device stub name for Windows

This is a follow up of https://reviews.llvm.org/D68578
where device stub name is changed for Itanium
mangling but not Microsoft mangling.

Reviewed by: Artem Belevich

Differential Revision: https://reviews.llvm.org/D113491
The file was modifiedclang/include/clang/AST/GlobalDecl.h
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
The file was modifiedclang/test/CodeGenCUDA/kernel-stub-name.cu
Commit b00fc198224efa038a7469e068dd920b3f1aba75 by hoy
profi - a flow-based profile inference algorithm: Part I (out of 3)

The benefits of sampling-based PGO crucially depends on the quality of profile
data. This diff implements a flow-based algorithm, called profi, that helps to
overcome the inaccuracies in a profile after it is collected.

Profi is an extended and significantly re-engineered classic MCMF (min-cost
max-flow) approach suggested by Levin, Newman, and Haber [2008, Complementing
missing and inaccurate profiling using a minimum cost circulation algorithm]. It
models profile inference as an optimization problem on a control-flow graph with
the objectives and constraints capturing the desired properties of profile data.
Three important challenges that are being solved by profi:
- "fixing" errors in profiles caused by sampling;
- converting basic block counts to edge frequencies (branch probabilities);
- dealing with "dangling" blocks having no samples in the profile.

The main implementation (and required docs) are in SampleProfileInference.cpp.
The worst-time complexity is quadratic in the number of blocks in a function,
O(|V|^2). However a careful engineering and extensive evaluation shows that
the running time is (slightly) super-linear. In particular, instances with
1000 blocks are solved within 0.1 second.

The algorithm has been extensively tested internally on prod workloads,
significantly improving the quality of generated profile data and providing
speedups in the range from 0% to 5%. For "smaller" benchmarks (SPEC06/17), it
generally improves the performance (with a few outliers) but extra work in
the compiler might be needed to re-tune existing optimization passes relying on
profile counts.

Reviewed By: wenlei, hoy

Differential Revision: https://reviews.llvm.org/D109860
The file was addedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
The file was addedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was addedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was addedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
Commit 18086186ab5ac7698db0fbc45c58cff2a7747da6 by listmail
[unroll] Remove two dead variable assignments [nfc]

These variables are not out-params, and we immediately return after assigning them.  Thus, the assignments are dead and just confusing.

I believe these used to be out-params, but they're not any more.
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Commit 065f777d2740653fac79fe44cda121bce11013b8 by listmail
Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)"

This reverts commit b00fc198224efa038a7469e068dd920b3f1aba75.  This change fails to build (link) on ubuntu x86,
The file was removedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was removedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was removedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was removedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 0a00d64e322f28f5f65f5b2d507d12757883478a by flo
[LAA] Turn aggregate type check into assertion (NFCI).

getPtrStride should not be called with aggregate access types. There's
also an old TODO.

Turn the check into an assertion.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit c933c2eb334660c131f4afc9d194fafb0cec0423 by nemanja.i.ibm
[PowerPC] Add BCD add/sub/cmp builtins

Support for builtins that use bcdadd./bcdsub. to add/subtract
Binary Coded Decimal values as well as to determine validity
and compare BCD values.

Differential revision: https://reviews.llvm.org/D114088
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
The file was addedllvm/test/CodeGen/PowerPC/bcd-intrinsics.ll
The file was modifiedllvm/lib/Target/PowerPC/P10InstrResources.td
The file was modifiedllvm/lib/Target/PowerPC/P9InstrResources.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
Commit 03d8bc184a3129f0e519bf08ef45f0349cfa1f90 by listmail
[indvars] Fix lftr crash when preheader is terminated by switch

This was found by oss-fuzz.  The switch will get canonicalized to a branch, but if it hasn't been when we run LFTR, we crashed on an unneeded assert.
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/lftr.ll
Commit 1df7289af66c630480a676e2a5347dca5a3ede15 by pirama
[compiler-rt/profile] Include __llvm_profile_get_magic in module signature

The INSTR_PROF_RAW_MAGIC_* number in profraw files should match during
profile merging.  This causes an error with 32-bit and 64-bit variants
of the same code.  The module signatures for the two binaries are
identical but they use different INSTR_PROF_RAW_MAGIC_* causing a
failure when profile-merging is used.  Including it when computing the
module signature yields different signatures for the 32-bit and 64-bit
profiles.

Differential Revision: https://reviews.llvm.org/D114054
The file was modifiedcompiler-rt/lib/profile/InstrProfilingMerge.c
Commit 0d3add216f04b99ed1db1a05c39975d4a9c83e6b by zarko
[llvm][NFC] Inclusive language: Reword replace uses of sanity in llvm/lib/Transform comments and asserts

Reworded some comments and asserts to avoid usage of `sanity check/test`

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D114372
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modifiedllvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Utils/GuardUtils.cpp
Commit 38ed1db7e8740fce236d1893ff9e20cc22ef0ada by i
[ELF] Support non-RAX/non-adjacent R_X86_64_GOTPC32_TLSDESC/R_X86_64_TLSDESC_CALL

The current TLSDESC optimization code assumes:
```
leaq x@tlsdesc(%rip), %rax
call *x@tlscall(%rax)       # adjacent
```

From https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665 , it seems that the
two instructions may not be adjacent in GCC 10's output:
```
leaq x@tlsdesc(%rip), %rax
something else
call *x@tlscall(%rax)
```

This patch supports the case. While here, support non-RAX registers for
R_X86_64_GOTPC32_TLSDESC, in case the compiler generates inefficient:

```
leaq x@tlsdesc(%rip), %rcx  # or %rdx, %rbx, %rdi, ...
movq %rcx, %rax
call *x@tlscall(%rax)       # GNU ld/gold error for non-RAX
```

Differential Revision: https://reviews.llvm.org/D114416
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/ELF/Arch/X86_64.cpp
The file was modifiedlld/test/ELF/x86-64-tlsdesc-gd.s
The file was modifiedlld/test/ELF/invalid/x86-64-tlsdesc-gd.s
Commit 286248db2c320e4b4f30dbddbeba3db993ca6e5d by 2998727+wrengr
[mlir][sparse] Moving integration tests that merely use the Python API

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114192
The file was removedmlir/test/python/dialects/sparse_tensor/test_SpMM.py
The file was addedmlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg
The file was addedmlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
Commit 884b6dd311422bbfac62b8a90fbfff8e77ba8121 by hoy
profi - a flow-based profile inference algorithm: Part I (out of 3)

The benefits of sampling-based PGO crucially depends on the quality of profile
data. This diff implements a flow-based algorithm, called profi, that helps to
overcome the inaccuracies in a profile after it is collected.

Profi is an extended and significantly re-engineered classic MCMF (min-cost
max-flow) approach suggested by Levin, Newman, and Haber [2008, Complementing
missing and inaccurate profiling using a minimum cost circulation algorithm]. It
models profile inference as an optimization problem on a control-flow graph with
the objectives and constraints capturing the desired properties of profile data.
Three important challenges that are being solved by profi:
- "fixing" errors in profiles caused by sampling;
- converting basic block counts to edge frequencies (branch probabilities);
- dealing with "dangling" blocks having no samples in the profile.

The main implementation (and required docs) are in SampleProfileInference.cpp.
The worst-time complexity is quadratic in the number of blocks in a function,
O(|V|^2). However a careful engineering and extensive evaluation shows that
the running time is (slightly) super-linear. In particular, instances with
1000 blocks are solved within 0.1 second.

The algorithm has been extensively tested internally on prod workloads,
significantly improving the quality of generated profile data and providing
speedups in the range from 0% to 5%. For "smaller" benchmarks (SPEC06/17), it
generally improves the performance (with a few outliers) but extra work in
the compiler might be needed to re-tune existing optimization passes relying on
profile counts.

Reviewed By: wenlei, hoy

Differential Revision: https://reviews.llvm.org/D109860
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was addedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was addedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was addedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was addedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
Commit 1345bc5e16c06a5d42102ba555f2bab09be6838a by quinn.pham
[NFC][llvm] Inclusive language: remove instance of master in LiveRangeUtils.h

[NFC] As part of using inclusive language within the llvm project, this patch
replaces master with primary in `LiveRangeUtils.h`.

Reviewed By: MatzeB

Differential Revision: https://reviews.llvm.org/D114191
The file was modifiedllvm/lib/CodeGen/LiveRangeUtils.h
Commit 791e71a799d8afb1179007450519825796b3c308 by llvmgnsyncbot
[gn build] Port 884b6dd31142
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit 165a5c62de1b085b1b9ca0430aa46e7026d0a82c by mehrnoosh.heidarpour
[InstCombine] Add test cases for D114339; NFC

Adding test cases for XOR logic folds with base result.
Differential Revision: https://reviews.llvm.org/D114436
The file was modifiedllvm/test/Transforms/InstCombine/xor.ll
Commit b57e2f071a2e47147a57c52a6a8c6aa062230cd8 by ravishankarm
[mlir][Linalg] Add pad vectorization patterns into LinalgStrategyVectorize passes.

Add an option to control whether these patterns are added to the
pattern list or not.

Differential Revision: https://reviews.llvm.org/D114290
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/CodegenStrategy.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
Commit 1392b654ff6573ca2dba4101f72e990822539c7d by joker.eph
Revert "profi - a flow-based profile inference algorithm: Part I (out of 3)"

This reverts commit 884b6dd311422bbfac62b8a90fbfff8e77ba8121.
The windows build is broken with a linker error.
The file was removedllvm/lib/Transforms/Utils/SampleProfileInference.cpp
The file was removedllvm/include/llvm/Transforms/Utils/SampleProfileInference.h
The file was removedllvm/test/Transforms/SampleProfile/Inputs/profile-inference.prof
The file was modifiedllvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h
The file was modifiedllvm/lib/Transforms/Utils/SampleProfileLoaderBaseUtil.cpp
The file was modifiedllvm/lib/Transforms/Utils/CMakeLists.txt
The file was removedllvm/test/Transforms/SampleProfile/profile-inference.ll
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 44bb69b1e012bdc905aa679008ee7ed3d71061b1 by llvmgnsyncbot
[gn build] Port 1392b654ff65
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
Commit 54eec7cafc396f3d1444aacf4f1ed71fceb4e503 by rob.suderman
[mlir][tosa] Separate tosa.transpose_conv decomposition and added stride support

Transpose convolution decomposition is now performed in a separate pass. This
allows padding / constant propagation to be performed at the TOSA level. It
also adds support for striding when there is no dilation.

Differential Revision: https://reviews.llvm.org/D114409
The file was modifiedmlir/include/mlir/Dialect/Tosa/Transforms/Passes.h
The file was addedmlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
The file was modifiedmlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
The file was modifiedmlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
The file was modifiedmlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
The file was addedmlir/test/Dialect/Tosa/tosa-decompose-transpose-conv.mlir
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
The file was modifiedmlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
Commit 0f1e52afa92fd6b687f4d69203b72e99a9228edb by rob.suderman
[mlir][tosa] Materialize tosa.pad value and fold noop pads

Padding now can explicitly specify the padding value when non-zero is wanted.
This also includes bypassing pads when the pad does nothing.

Differential Revision: https://reviews.llvm.org/D113611
The file was modifiedmlir/test/Dialect/Tosa/canonicalize.mlir
The file was modifiedmlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
The file was modifiedmlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Commit 14d743457c3d5c8154644375bac1094481ab4eaf by spatel
[InstSimplify] add tests for xor logic fold; NFC
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll
Commit cdc80a6017076daea28e62a9efb0b3d8a53d8fce by Vitaly Buka
[NFC][sanitizer] Move StackStore::Allocated into cpp file
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
Commit b80affb8a1494560c83c6d2bf1164ff8fe031401 by Vitaly Buka
[NFC][sanitizer] Early return for empty StackTraces

Current callers should filter them out anyway,
but with this patch we don't need rely on that assumption.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
Commit b5a927b972b2c07b4597e93ed0b57803bfc0e6ae by dimitry
[lldb] Move create_relative_symlink function up in CMake hierarchy

Configuring lldb with `LLDB_ENABLE_PYTHON=OFF` and `LLDB_ENABLE_LUA=ON` results in a CMake error:

    CMake Error at lldb/bindings/lua/CMakeLists.txt:47 (create_relative_symlink):
      Unknown CMake command "create_relative_symlink".
    Call Stack (most recent call first):
      lldb/CMakeLists.txt:117 (finish_swig_lua)

This is because the CMake function `create_relative_symlink` only exists in `lldb/bindings/python/CMakeLists.txt`, and not in `lldb/bindings/lua/CMakeLists.txt`.

Move the function to `lldb/bindings/CMakeLists.txt`, so it is available for all language bindings.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D114465
The file was modifiedlldb/bindings/python/CMakeLists.txt
The file was modifiedlldb/bindings/CMakeLists.txt
Commit 67a1c45def8a75061203461ab0060c75c864df1c by Vitaly Buka
[NFC][sanitizer] Add StackStoreTest

Reviewed By: morehouse

Differential Revision: https://reviews.llvm.org/D114463
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
The file was addedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp
Commit bf1138491a2ba12dce0c3ff2ad6a18f093428539 by xur
[SampleFDO] Recompute BFI if the sample loader changes BPI

The MIR sample loader changes the branch probability but not BFI.
Here we force a recompute of BFI if the branch probabilities are
changed.

Also register the MIR FSAFDO passes properly.

Differential Revision: https://reviews.llvm.org/D114400
The file was addedllvm/test/CodeGen/X86/fsafdo_test3.ll
The file was modifiedllvm/lib/CodeGen/MIRSampleProfile.cpp
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
Commit abd86619cf5e389995e8cb325ddb570d86a0715f by Vitaly Buka
[NFC][sanitizer] Extract StackTraceHeader struct
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
Commit b1a68b170c44e8d5298800a080444c0b82366e51 by Vitaly Buka
[NFC][sanitizer] Make method const
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.h
Commit 892648b18a8cc3b8a08528112adfa74bdd432f8b by spatel
[InstSimplify] fold xor logic of 2 variables

(a & b) ^ (~a | b) --> ~a

I was looking for a shortcut to reduce some of the complex logic
folds that are currently up for review (D113216
and others in that stack), and I found this missing from
instcombine/instsimplify.

There is a trade-off in putting it into instsimplify: because
we can't create new values here, we need a strict 'not' op (no
undef elements). Otherwise, the fold is not valid:
https://alive2.llvm.org/ce/z/k_AGGj

If this was in instcombine instead, we could create the proper
'not'. But having the fold here benefits other passes like GVN
that use instsimplify as an analysis.

There is a related fold where 'and' and 'or' are swapped, and
that is planned as a follow-up commit.

Differential Revision: https://reviews.llvm.org/D114462
The file was modifiedllvm/test/Transforms/InstSimplify/xor.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 4ba5da8e3d38f38ed7845c22baadd8908729c520 by walter erquinigo
Improve optional formatter

As suggested by @labath in https://reviews.llvm.org/D114403, we should
make the formatter more resilient to corrupted data. The Libcxx version
explicitly checks for engaged = 1, so we can do that as well for safety.

Differential Revision: https://reviews.llvm.org/D114450
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/optional/TestDataFormatterGenericOptional.py
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxOptional.cpp
Commit a48501150b9ef64fd61d24f8cef2645237facc44 by walter erquinigo
Make some libstd++ formatters safer

We need to add checks that ensure that some core variables are valid, so
that we avoid printing out garbage data. The worst that could happen is
that an non-initialized variable is being printed as something with
123123432 children instead of 0.

Differential Revision: https://reviews.llvm.org/D114458
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/main.cpp
Commit 193bf2e820520dd4a2d5ed0e7d50ee45e8127071 by walter erquinigo
[formatters] Capping size limitation avoidance for the libcxx and libcpp bitset data formatters.

This diff is avoiding the size limitation introduced by the capping size for the libcxx and libcpp bitset data formatters.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D114461
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
Commit 4961fcfbcf688e5cd9580578b1e4eadce1dfc42e by jurahul
Move dependency llvm:AllTargetsAsmParsers from Translation to ExecutionEngine.

- Fixes a minor issue in https://reviews.llvm.org/D114338, which seems incorrectly
  added the llvm:AllTargetsAsmParsers dependency to Translation in bazel build files.

Differential Revision: https://reviews.llvm.org/D114471
The file was modifiedutils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Commit 9a9d9a9b00af5b60514ab9ada09ba02dfb86945e by walter erquinigo
[formatters] List and forward_list capping_size determination and application

This diff is adding the capping_size determination for the list and forward list, to limit the number of children to be displayed. Also it modifies and unifies tests for libcxx and libstdcpp list data formatter.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D114433
The file was modifiedlldb/examples/synthetic/gnu_libstdcpp.py
The file was modifiedlldb/source/API/SBTarget.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/main.cpp
The file was modifiedlldb/include/lldb/API/SBTarget.h
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/main.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/Makefile
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/Makefile
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/main.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/Makefile
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/main.cpp
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/Makefile
The file was removedlldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py
The file was modifiedlldb/bindings/interface/SBTarget.i
The file was addedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
Commit 877433ad453cd1bd77497ec47828074b6e010edb by walter erquinigo
Fix a48501150b9ef64fd61d24f8cef2645237facc44

Issue in https://lab.llvm.org/buildbot/#/builders/96/builds/14682.

Making the test deterministic.
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
The file was modifiedlldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/main.cpp
Commit 73a05cc8dfa114e29cd4d463c77a5577571c8c56 by flo
[LAA] Move visitPointers up in file (NFC).

This allows easier re-use in earlier functions.
The file was modifiedllvm/lib/Analysis/LoopAccessAnalysis.cpp
Commit 273a0c8bc9c774aa0d5982c23dc3d62b68ef4338 by Matthew.Arsenault
PrologEpilogInserter: Use explicit control for scavenge slot placement

AMDGPU is unusual in that the both stack is indexed in the same
direction as stack growth (up). We therefore always need the emergency
stack slots placed as low as possible to ensure they are in range of
load/store instruction immediate offsets. The existing logic is mostly
OK, but failed if we required stack realignment.

I don't understand what the existing control isFPCloseToIncomingSP is
supposed to mean, but can only be used to stop placing the scavenge
slots earlier. Make this explicit so that targets can opt-in rather
than opt-out only.
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-scratch.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir
The file was modifiedllvm/lib/Target/SystemZ/SystemZFrameLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/load-lo16.ll
The file was modifiedllvm/lib/Target/Mips/MipsFrameLowering.h
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-gfx9.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/store-hi16.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/load-hi16.ll
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-carry-out.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-offset-calculation.ll
Commit c9cb8edc519e4fa80b28fb4e0cc2bd8423742d21 by nemanja.i.ibm
[PowerPC] Allow scalars for asm constraint "v" with VSX

Similarly to what GCC does, we should allow scalars with
the "v" constraint rather than introducing unnecessary
new constraints for scalars in Altivec registers.

Differential revision: https://reviews.llvm.org/D113635
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was addedllvm/test/CodeGen/PowerPC/scalars-in-altivec-regs.ll
Commit 09256fe980ddc46be36ab4460ae1850aa46f094e by Vitaly Buka
[sanitizer] Add DenseMap::forEach
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_dense_map.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp
Commit 4058637f7ac6c0c44c90604b041dafa6b24e641b by Vitaly Buka
[NFC][sanitizer] Reuse forEach for operator==
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_dense_map.h
Commit 6c06d8e310bd926f8c9ed63118c38b28075f4de3 by fmayer
[stack-safety] Check SCEV constraints at memory instructions.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D113160
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/memintrin.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
Commit 26d1edfb105bdc857733c3bb8697a9f73828bde7 by fmayer
[hwasan] support python3 in hwasan_sanitize

Verified no diff exist between previous version, new version python 2, and python 3 for an example stack.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D114404
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
Commit 75a1bee05db7ca4277cf93545834110409c75bc9 by ivan.butygin
[mlir][spirv] Add math to OpenCL conversion

Differential Revision: https://reviews.llvm.org/D113780
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
The file was modifiedmlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
The file was modifiedmlir/test/Target/SPIRV/ocl-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLSLOps.td
The file was modifiedmlir/test/Conversion/ArithmeticToSPIRV/arithmetic-to-spirv.mlir
The file was removedmlir/test/Conversion/MathToSPIRV/math-to-spirv.mlir
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-glsl-spirv.mlir
The file was addedmlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVOCLOps.td
Commit 661a232e34845a89789c4d617b9c764eded002a1 by Stanislav.Mekhanoshin
[AMDGPU] Remove a no-op check in the gfx90a hazard recognizer

Also rename helper function accordingly.

Differential Revision: https://reviews.llvm.org/D114289
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Commit 402a406323194e0eaecfb793416e8c7528befc29 by Vitaly Buka
[NFC][sanitizer] Test for b80affb8a149
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_stack_store_test.cpp
Commit 6889592ebcdea168f9e7a5dc91b8549527e4dbf7 by Vitaly Buka
[NFC][sanitizer] Limit StackStore stack size/tag to 1 byte

Nothing uses more than 8bit now. So the rest of the headers can store other data.
kStackTraceMax is 256 now, but all sanitizers by default store just 20-30 frames here.
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stack_store.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
Commit 22ced33a2f769815834efdd0eb0b25172c6f8a61 by zequanwu
[LLDB][NativePDB] Allow find functions by full names

I don't see a reason why not to. If we allows lookup functions by full names,
I can change the test case in D113930 to use `lldb-test symbols --find=function --name=full::name --function-flags=full ...`,
though the duplicate method decl prolem is still there for `lldb-test symbols --dump-ast`.
That's a seprate bug, we can fix it later.

Differential Revision: https://reviews.llvm.org/D114467
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was addedlldb/test/Shell/SymbolFile/NativePDB/find-functions.cpp
Commit 8ec0f221843c51096cf3e7a479e780be371388a8 by joker.eph
Update fir.insert_on_range syntax to make the range more explicit (NFC)

Also replace ArrayAttr with IndexElementsAttr to model subscript dimensions.
An array of attribute is a sparse inefficient storage, with an API that
requires to unpack/repack integers at every call site.
Instead we can store dense array of integer as IndexElementsAttr.

Reviewed By: clementval, kiranchandramohan

Differential Revision: https://reviews.llvm.org/D112899
The file was modifiedflang/lib/Optimizer/CodeGen/CodeGen.cpp
The file was modifiedflang/test/Fir/convert-to-llvm.fir
The file was modifiedflang/test/Fir/fir-ops.fir
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
The file was modifiedflang/include/flang/Optimizer/Dialect/FIROps.td
The file was modifiedflang/test/Fir/invalid.fir
Commit 07333810caee48e94587891191a970be8a117fcf by JunMa
Revert "Revert "Revert "Recommit "Revert "[CVP] processSwitch: Remove default case when switch cover all possible values."""""

This reverts commit c93f93b2e3f28997f794265089fb8138dd5b5f13.
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was modifiedllvm/include/llvm/Transforms/Utils/Local.h
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit 17eb6b61de4b4d7a35680254a59118a0e3fa8dc9 by JunMa
Revert "[Taildup] Don't tail-duplicate loop header with multiple successors as its latches"

This reverts commit 1f9fa549841a2ec55aa5a131bfaf83f0383c4713.
The file was modifiedllvm/test/CodeGen/X86/tail-dup-multiple-latch-loop.ll
The file was modifiedllvm/lib/CodeGen/TailDuplicator.cpp
Commit d7d7ffe254d53cf0860126ab4c3f5db18c927892 by 2998727+wrengr
[mlir][sparse] Adding wrappers for constantOverheadTypeEncoding

Minor code cleanup

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D114392
The file was modifiedmlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
Commit 8bd08a9fd705dce07d7cd76711532432b575ed78 by uday
[MLIR] Remove duplicate `Pass` suffix from ViewOpGraph class name

Remove duplicate `Pass` suffix from view-op-graph pass class name. The
extra suffix would lead to methods like registerViewOpGraphPassPass
being generated.

Differential Revision: https://reviews.llvm.org/D114459
The file was modifiedmlir/include/mlir/Transforms/Passes.td
The file was modifiedmlir/lib/Transforms/ViewOpGraph.cpp
Commit 1150f02c77b81adca4d0c67afdef23321e93db89 by rtrieu
Revert "tsan: new runtime (v3)"

This reverts commit ebd47b0fb78fa11758da6ffcd3e6b415cbb8fa28.
This was causing unexpected behavior in programs.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_windows.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_shadow.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_proc.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_thread_registry.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mman.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
The file was modifiedcompiler-rt/test/tsan/bench_threads.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_flags_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp
The file was modifiedcompiler-rt/test/tsan/memcmp_race.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_mutexset.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_trace_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_defs.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
The file was addedcompiler-rt/lib/tsan/rtl/tsan_update_shadow_word.inc
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_sync_test.cpp
The file was modifiedcompiler-rt/lib/tsan/go/tsan_go.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.h
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_java.cpp
The file was modifiedcompiler-rt/lib/tsan/tests/unit/tsan_stack_test.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_trace.h
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_rtl.cpp
The file was modifiedcompiler-rt/lib/tsan/check_analyze.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
The file was modifiedcompiler-rt/test/tsan/mutexset7.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp
The file was modifiedcompiler-rt/test/tsan/free_race2.c
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_dense_alloc.h
The file was modifiedcompiler-rt/lib/tsan/go/build.bat
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.cpp
The file was modifiedcompiler-rt/lib/tsan/go/buildgo.sh
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_flags.inc
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was modifiedcompiler-rt/test/tsan/memcpy_race.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interface_atomic.cpp
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_sync.h