SuccessChanges

Summary

  1. [SelectionDAG][Mips][Sparc] Don't allow SimplifyDemandedBits to constant (details)
  2. [libTooling] Add `ifBound`, `elseBranch` RangeSelector combinators. (details)
  3. Doxygenify comments. (details)
  4. [MTE] Handle MTE instructions in AArch64LoadStoreOptimizer. (details)
  5. [NFC][InstCombine] Fixup newly-added tests (details)
  6. Reland '[analyzer][MallocChecker][NFC] Document and reorganize some (details)
  7. [www] Turn 'Clang 9' boxes green in C++ status pages now Clang 9 is (details)
  8. Fix MSVC "not all control paths return a value" warning. NFCI. (details)
  9. [NFC][PowerPC] Refactor classifyGlobalReference (details)
  10. Fix -Wdocumentation warning. NFCI. (details)
  11. Fix a documentation error (details)
  12. [Mips] Remove immarg test for intrinsics that no longer have an immarg (details)
Commit 1b7b4b467f03322f37b20ccee5cdef0c9ecec5d4 by craig.topper
[SelectionDAG][Mips][Sparc] Don't allow SimplifyDemandedBits to constant
fold TargetConstant nodes to a Constant.
Summary: After the switch in SimplifyDemandedBits, it tries to create a
constant when possible. If the original node is a TargetConstant the
default in the switch will call computeKnownBits on the TargetConstant
which will succeed. This results in the TargetConstant becoming a
Constant. But TargetConstant exists to avoid being changed.
I've fixed the two cases that relied on this in tree by explicitly
making the nodes constant instead of target constant. The Sparc case is
an old bug. The Mips case was recently introduced now that ImmArg on
intrinsics gets turned into a TargetConstant when the SelectionDAG is
created. I've removed the ImmArg since it lowers to generic code.
Reviewers: arsenm, RKSimon, spatel
Subscribers: jyknight, sdardis, wdng, arichardson, hiraditya,
fedor.sergeev, jrtc27, atanasyan, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67802
llvm-svn: 372409
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsMips.td
Commit eff88e42f7860ac38cccafd175f5feca4d89c7c3 by yitzhakm
[libTooling] Add `ifBound`, `elseBranch` RangeSelector combinators.
Summary: Adds two new combinators and corresponding tests to the
RangeSelector library.
* `ifBound` -- conditional evaluation of range-selectors, based on
whether a
  given node id is bound in the match.
* `elseBranch` -- selects the source range of the else and its
statement.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67621
llvm-svn: 372410
The file was modifiedclang/unittests/Tooling/RangeSelectorTest.cpp
The file was modifiedclang/include/clang/Tooling/Refactoring/RangeSelector.h
The file was modifiedclang/lib/Tooling/Refactoring/RangeSelector.cpp
Commit 330014843ceccdcb32463875b3fcd36654e75ad4 by Adrian Prantl
Doxygenify comments.
llvm-svn: 372411
The file was modifiedlldb/source/Symbol/Variable.cpp
The file was modifiedlldb/include/lldb/Symbol/Variable.h
Commit c2bda3e422a9d00c49f4f3faf3adfb0ac9767097 by eugeni.stepanov
[MTE] Handle MTE instructions in AArch64LoadStoreOptimizer.
Summary: Generate pre- and post-indexed forms of ST*G and STGP when
possible.
Reviewers: ostannard, vitalybuka
Subscribers: kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67741
llvm-svn: 372412
The file was modifiedllvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
The file was modifiedllvm/test/CodeGen/AArch64/stgp.ll
The file was addedllvm/test/CodeGen/AArch64/ldst-opt-mte.mir
Commit 081eebc58fcc9baa7517b20eb1243e0bf056a683 by lebedev.ri
[NFC][InstCombine] Fixup newly-added tests
llvm-svn: 372413
The file was modifiedllvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll
The file was modifiedllvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
Commit 951cd32f4ba8e2cc08814a609853c11c69efc394 by kristof.umann
Reland '[analyzer][MallocChecker][NFC] Document and reorganize some
functions'
Differential Revision: https://reviews.llvm.org/D54823
llvm-svn: 372414
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
Commit 2d2850ff09b7b1ca5fbc249b46c05ff94931831a by richard-llvm
[www] Turn 'Clang 9' boxes green in C++ status pages now Clang 9 is
released.
llvm-svn: 372415
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/www/make_cxx_dr_status
The file was modifiedclang/www/cxx_dr_status.html
Commit 7dab840fd4f26fc814b323e017f549f9fb43fcd5 by llvm-dev
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 372416
The file was modifiedllvm/lib/TextAPI/MachO/Platform.cpp
Commit e065e5f12a7de2074355e1fc3d2d1fcb4a4fcf66 by Jinsong Ji
[NFC][PowerPC] Refactor classifyGlobalReference
We always(and only) check the NLP flag after calling
classifyGlobalReference to see whether it is accessed indirectly.
Refactor to code to use isGVIndirectSym instead.
llvm-svn: 372417
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.cpp
Commit 60a6f31dde488e28afab0dc39697e645d0653e2e by llvm-dev
Fix -Wdocumentation warning. NFCI.
llvm-svn: 372418
The file was modifiedllvm/include/llvm/TextAPI/MachO/InterfaceFile.h
Commit 96be6f485c733c990d01c60f0dc6ae11b3974eea by kristof.umann
Fix a documentation error
llvm-svn: 372419
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
Commit c139d1e28109450085a11e3b2ec7d53c6a00c37b by craig.topper
[Mips] Remove immarg test for intrinsics that no longer have an immarg
after r372409.
llvm-svn: 372420
The file was removedllvm/test/Verifier/Mips/intrinsic-immarg.ll