SuccessChanges

Summary

  1. [InstSimplify] simplifyUnsignedRangeCheck(): handle few tautological (details)
  2. [lldb] Code cleanup: FormattersContainer.h: Use range-based for loops. (details)
  3. [TargetLowering] SimplifyDemandedBits - add EXTRACT_SUBVECTOR support. (details)
  4. [Diagnostics] Added silence note for -Wsizeof-array-div; suggest extra (details)
Commit 9c5a4a4527bc6c06b0f889501aa48aa23ccb90a5 by lebedev.ri
[InstSimplify] simplifyUnsignedRangeCheck(): handle few tautological
cases (PR43251)
Summary: This is split off from D67356, since these cases produce a
constant, no real need to keep them in instcombine.
Alive proofs: https://rise4fun.com/Alive/u7Fk
https://rise4fun.com/Alive/4lV
https://bugs.llvm.org/show_bug.cgi?id=43251
Reviewers: spatel, nikic, xbolva00
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67498
llvm-svn: 371921
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
Commit 9060643380b3c66233dbce64489fce1916a48d98 by jan.kratochvil
[lldb] Code cleanup: FormattersContainer.h: Use range-based for loops.
Suggested for an other loop by Pavel Labath in:
https://reviews.llvm.org/D66654#inline-605808
llvm-svn: 371922
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
Commit b743e94cdca985cb676049290af4f49b6e49572f by llvm-dev
[TargetLowering] SimplifyDemandedBits - add EXTRACT_SUBVECTOR support.
Call SimplifyDemandedBits on the source vector.
llvm-svn: 371923
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-reduce-mul.ll
Commit b8185153f35446c2a8db48ee711d2fb577674c18 by david.bolvansky
[Diagnostics] Added silence note for -Wsizeof-array-div; suggest extra
parens
llvm-svn: 371924
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/Sema/div-sizeof-array.cpp