SuccessChanges

Summary

  1. Add Location, Region and Block to MLIR Python bindings. (details)
  2. [lldb] Dervice dotest.py path from config.lldb_src_root (NFC) (details)
  3. [lldb] Get rid of LLDB_LIB_DIR and LLDB_IMPLIB_DIR in dotest (details)
  4. [gcov] Increment counters with atomicrmw if -fsanitize=thread (details)
  5. Revert "[InstSimplify][EarlyCSE] Try to CSE PHI nodes in the same basic block" (details)
  6. [ARC] Update brcc test. (details)
Commit 2d1362e09af2e35c93aca59852211a735d865a54 by stellaraccident
Add Location, Region and Block to MLIR Python bindings.

* This is just enough to create regions/blocks and iterate over them.
* Does not yet implement the preferred iteration strategy (python pseudo containers).
* Refinements need to come after doing basic mappings of operations and values so that the whole hierarchy can be used.

Differential Revision: https://reviews.llvm.org/D86683
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was addedmlir/test/Bindings/Python/ir_operation.py
The file was modifiedmlir/lib/Bindings/Python/PybindUtils.h
The file was modifiedmlir/lib/Bindings/Python/IRModules.h
The file was modifiedmlir/include/mlir-c/IR.h
The file was addedmlir/test/Bindings/Python/ir_location.py
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
Commit 55e7d91072e865d36953e91a7b2c8bfc219464d6 by Jonas Devlieghere
[lldb] Dervice dotest.py path from config.lldb_src_root (NFC)
The file was modifiedlldb/test/API/lit.cfg.py
The file was modifiedlldb/test/API/lit.site.cfg.py.in
Commit 141c8475b693e245388cf7a4ac9ec17303988700 by Jonas Devlieghere
[lldb] Get rid of LLDB_LIB_DIR and LLDB_IMPLIB_DIR in dotest

This patch removes the rather confusing LLDB_LIB_DIR and LLDB_IMPLIB_DIR
environment variables. They are confusing because LLDB_LIB_DIR would
point to the bin subdirectory in the build root while LLDB_IMPLIB_DIR
would point to the lib subdirectory. The reason far this was
LLDB.framework, which gets build under bin.

This patch replaces their uses with configuration.lldb_framework_path
and configuration.lldb_libs_dir respectively.

Differential revision: https://reviews.llvm.org/D86817
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py
The file was modifiedlldb/tools/intel-features/intel-mpx/test/TestMPXTable.py
The file was modifiedlldb/packages/Python/lldbsuite/test/decorators.py
Commit b5ef137c11b1cc6ae839ee75b49233825772bdd0 by maskray
[gcov] Increment counters with atomicrmw if -fsanitize=thread

Without this patch, `clang --coverage -fsanitize=thread` may fail spuriously
because non-atomic counter increments can be detected as data races.
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was addedclang/test/CodeGen/code-coverage-tsan.c
The file was addedllvm/test/Transforms/GCOVProfiling/atomic-counter.ll
The file was modifiedllvm/include/llvm/Transforms/Instrumentation.h
The file was modifiedllvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
Commit ed90f15efb40d26b5d3ead3bb8e9e284218e0186 by resistor
Revert "[InstSimplify][EarlyCSE] Try to CSE PHI nodes in the same basic block"

This reverts commit 6102310d814ad73eab60a88b21dd70874f7a056f.  It
appears to cause compilation non-determinism and caused stage3
mismatches.
The file was modifiedllvm/test/CodeGen/X86/statepoint-vector.ll
The file was modifiedllvm/test/Transforms/EarlyCSE/phi.ll
The file was modifiedllvm/lib/IR/Instruction.cpp
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
The file was modifiedllvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll
The file was modifiedllvm/test/Transforms/InstCombine/phi-equal-incoming-pointers.ll
The file was modifiedllvm/test/Transforms/InstSimplify/phi-cse.ll
The file was modifiedllvm/test/Transforms/JumpThreading/loop-phi.ll
The file was modifiedllvm/test/Transforms/InstCombine/merging-multiple-stores-into-successor.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/reduction.ll
Commit 0f661418aa7f967d45f6edb01b4469c8e24ed571 by petecoup
[ARC] Update brcc test.
The file was modifiedllvm/test/CodeGen/ARC/brcc.ll