SuccessChanges

Summary

  1. [nfc] [lldb] DWARFDebugInfoEntry::Extract(): reindent (details)
  2. Stop traping on sNaN in __builtin_isinf (details)
  3. [AA] Cache (optionally) estimated PartialAlias offsets. (details)
  4. [Instcombine][NFC]Simplify logical reductions tests, NFC. (details)
Commit 1b8fdaacf49442dccacfe6e942b894150b287143 by jan.kratochvil
[nfc] [lldb] DWARFDebugInfoEntry::Extract(): reindent
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp (diff)
Commit 1b6eb56aa0ea2931866455a21a138fc09c08e905 by thomasp
Stop traping on sNaN in __builtin_isinf

__builtin_isinf currently generates a floating-point compare operation
which triggers a trap when faced with a signaling NaN in StrictFP mode.
This commit uses integer operations instead to not generate any trap in
such a case.

Reviewed By: mibintc

Differential Revision: https://reviews.llvm.org/D97125
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
The file was modifiedclang/test/CodeGen/aarch64-strictfp-builtins.c (diff)
The file was modifiedclang/test/CodeGen/builtin_float_strictfp.c (diff)
The file was modifiedclang/test/CodeGen/X86/strictfp_builtins.c (diff)
The file was modifiedclang/test/CodeGen/strictfp_builtins.c (diff)
Commit 6e967834b9fa17ae5361651c15c969a9c7331eb2 by dfukalov
[AA] Cache (optionally) estimated PartialAlias offsets.

For the cases of two clobbering loads and one loaded object is fully contained
in the second `BasicAAResult::aliasGEP` returns just `PartialAlias` that
is actually more common case of partial overlap, it doesn't say anything about
actual overlapping sizes.

AA users such as GVN and DSE have no functionality to estimate aliasing of GEPs
with non-constant offsets. The change stores estimated relative offsets so they
can be used further.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93529
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h (diff)
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp (diff)
The file was modifiedllvm/unittests/Analysis/AliasAnalysisTest.cpp (diff)
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp (diff)
Commit 3c3c4ee24ffb7920b23d61d2d67f43b11fd08f12 by a.bataev
[Instcombine][NFC]Simplify logical reductions tests, NFC.
The file was modifiedllvm/test/Transforms/InstCombine/vector-logical-reductions.ll (diff)