SuccessChanges

Summary

  1. [NFC] [DAGCombiner] Remove unnecessary negation in visitFNEG (details)
  2. [NFC] [DAGCombiner] Refactor bitcast folding within fabs/fneg (details)
  3. [analyzer] Add bool operator modeling for unque_ptr (details)
  4. [X86][CGP] Pre-commit test cases for D86371. (details)
Commit eb2a405c181c9833eb8676d147619b8c893dc6fa by qiucofan
[NFC] [DAGCombiner] Remove unnecessary negation in visitFNEG

In visitFNEG of DAGCombiner, the folding of (fneg (fsub c, x)) is
redundant since getNegatedExpression already handles it.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/fneg.ll
Commit 5475154865fd57ff00d20d11b32d2c18c633fb76 by qiucofan
[NFC] [DAGCombiner] Refactor bitcast folding within fabs/fneg

fabs and fneg share a common transformation:

(fneg (bitconvert x)) -> (bitconvert (xor x sign))
(fabs (bitconvert x)) -> (bitconvert (and x ~sign))

This patch separate the code into a single method.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D86862
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit bc3d4d9ed783a3051125075f1a58ad619d8ea454 by vrnithinkumar
[analyzer] Add bool operator modeling for unque_ptr

Summary: Implemented boolean conversion operator for unique_ptr

Reviewers: NoQ, Szelethus, vsavchenko, xazax.hun

Reviewed By: NoQ, xazax.hun

Subscribers: martong, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D86027
The file was modifiedclang/test/Analysis/smart-ptr-text-output.cpp
The file was modifiedclang/test/Analysis/smart-ptr.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
Commit 44133d9a0801f9bca777c4858ee7d59618a9c4fe by craig.topper
[X86][CGP] Pre-commit test cases for D86371.
The file was modifiedllvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
The file was modifiedllvm/test/CodeGen/X86/masked_gather_scatter.ll