SuccessChanges

Summary

  1. [InstSimplify] refactor min/max folds with shared operand; NFC (details)
  2. [lldb/Host] Upstream macOS TCC code (details)
  3. [GlobalISel] Don't transform FSUB(-0, X) -> FNEG(X) in GlobalISel. (details)
  4. AMDGPU/GlobalISel: Ensure subreg is valid when selecting G_UNMERGE_VALUES (details)
  5. [DWARFYAML] Fix unintialized value Is64BitAddrSize. NFC. (details)
  6. [GlobalISel] Remove redundant FNEG tests. (details)
  7. [MLIR] Simplify semi-affine expressions (details)
  8. Fix sphinx indentation warnings by adding explicit line breaks to address space hierarchy (details)
  9. [gn build] (manually) merge 593e1962 (details)
  10. sanitizer_symbolizer_libcdep.cpp: Change --inlining=true to --inlines and --inlining=false to --no-inlines (details)
  11. Fix -Wconstant-conversion warning with explicit cast (details)
Commit a16882047a3f7c37f2c7747a1b2ee0d7619d5645 by spatel
[InstSimplify] refactor min/max folds with shared operand; NFC
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 041c7b84a4b925476d1e21ed302786033bb6035f by Jonas Devlieghere
[lldb/Host] Upstream macOS TCC code

Upstream the code for dealing with TCC introduced in macOS Mojave. This
will make the debuggee instead of the debugger responsible for the
privileges it needs.

Differential revision: https://reviews.llvm.org/D85217
The file was addedlldb/source/Host/macosx/objcxx/PosixSpawnResponsible.h
The file was modifiedlldb/source/Host/macosx/objcxx/Host.mm
Commit 23adbac9ee23c10976e40c80999abf02ecb389b7 by mcinally
[GlobalISel] Don't transform FSUB(-0, X) -> FNEG(X) in GlobalISel.

This patch stops unconditionally transforming FSUB(-0, X) into an FNEG(X) while building the MIR.

This corresponds with the SelectionDAGISel change in D84056.

Differential Revision: https://reviews.llvm.org/D85139
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit 0de547ed4ada068ea618bdb8ce58ddc89de9a42f by Matthew.Arsenault
AMDGPU/GlobalISel: Ensure subreg is valid when selecting G_UNMERGE_VALUES

Fixes verifier error with SGPR unmerges with 96-bit result types.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.buffer.load.ll
Commit 12605bfd1ff5c6316e74587be1b41d24abd893fc by Xing
[DWARFYAML] Fix unintialized value Is64BitAddrSize. NFC.

This patch fixes the undefined behavior that reported by ubsan.

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/44524/
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDieTest.cpp
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFEmitter.h
Commit 724b035fe4df89e807f85ee202da8b0bc227895b by mcinally
[GlobalISel] Remove redundant FNEG tests.

These tests were made redundant by D85139.
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
Commit 56593fa370124a4d77703e7ddfa4dfca81e0c8f2 by uday
[MLIR] Simplify semi-affine expressions

Simplify semi-affine expression for the operations like ceildiv,
floordiv and modulo by any given symbol by checking divisibilty by that
symbol.

Some properties used in simplification are:

1) Commutative property of the floordiv and ceildiv:
((expr1 floordiv expr2) floordiv expr3 ) = ((expr1 floordiv expr3) floordiv expr2)
((expr1 ceildiv expr2) ceildiv expr3 ) = ((expr1 ceildiv expr3) ceildiv expr2)

While simplification if operations are different no simplification is
possible as there is no property that simplify expressions like these:
((expr1 ceildiv expr2) floordiv expr3) or  ((expr1 floordiv expr2)
ceildiv expr3).

2) If both expr1 and expr2 are divisible by the expr3 then:
(expr1 % expr2) / expr3 = ((expr1 / expr3) % (expr2 / expr3))
where / is divide symbol.

3) If expr1 is divisible by expr2 then expr1 % expr2 = 0.

Signed-off-by: Yash Jain <yash.jain@polymagelabs.com>

Differential Revision: https://reviews.llvm.org/D84920
The file was modifiedmlir/test/Dialect/Affine/simplify-affine-structures.mlir
The file was modifiedmlir/lib/IR/AffineExpr.cpp
Commit 83cb98f9e7a57360e137b32b26500fca630df617 by llvm-dev
Fix sphinx indentation warnings by adding explicit line breaks to address space hierarchy
The file was modifiedclang/include/clang/Basic/AttrDocs.td
Commit 6a4fd03698e1aab09c47215b7eace942a23de074 by thakis
[gn build] (manually) merge 593e1962
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn
Commit e4441fc653912ec4efc5611a8dd926f8bdd0306c by i
sanitizer_symbolizer_libcdep.cpp: Change --inlining=true to --inlines and --inlining=false to --no-inlines
The file was modifiedcompiler-rt/lib/asan/scripts/asan_symbolize.py
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
Commit e31cfc4cd3e393300002e9c519787c96e3b67bab by dblaikie
Fix -Wconstant-conversion warning with explicit cast

Introduced by fd6584a22043b254a323635c142b28ce80ae5b5b

Following similar use of casts in AsmParser.cpp, for instance - ideally
this type would use unsigned chars as they're more representative of raw
data and don't get confused around implementation defined choices of
char's signedness, but this is what it is & the signed/unsigned
conversions are (so far as I understand) safe/bit preserving in this
usage and what's intended, given the API design here.
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp