SuccessChanges

Summary

  1. [libTooling] Change Stencil equality to use `toString()` (details)
  2. [AMDGPU][MC] Corrected parsing of optional operands (details)
  3. Fix compilation warnings. NFC. (details)
  4. [DAGCombiner] fold vselect-of-constants to shift (details)
Commit cf2438ec130946ad0f2d533f84831b742262d9f9 by yitzhakm
[libTooling] Change Stencil equality to use `toString()`
Summary: Removes the `isEqual` method from StencilPartInterface and
modifies equality to use the string representation returned by the
`toString` method for comparison.
This means the `run` and `selection` stencils return true by default,
and clients should be cautious in relying on equality operator for
comparison of stencils containing parts generated by these functions.
It also means we no longer need the custom RTTI support (typeId() and
down_cast()), so it has been removed.
Patch by Harshal T. Lehri.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68825
llvm-svn: 374552
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/Stencil.cpp
The file was modifiedclang/include/clang/Tooling/Transformer/Stencil.h
Commit 882c3e3db52da2fdb142e206f8113637e232dcd2 by dmitry.preobrazhensky
[AMDGPU][MC] Corrected parsing of optional operands
See https://bugs.llvm.org/show_bug.cgi?id=43486
Reviewers: artem.tamazov, arsenm
Differential Revision: https://reviews.llvm.org/D68350
llvm-svn: 374553
The file was modifiedllvm/test/MC/AMDGPU/flat-global.s
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Commit 30c855d42aa26a9d49c623f51707df0bb39d655b by michael.hliao
Fix compilation warnings. NFC.
llvm-svn: 374554
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalDCE.cpp
Commit 3b581ac80f727441b1f1487c1a3f7632b5de292b by spatel
[DAGCombiner] fold vselect-of-constants to shift
The diffs suggest that we are missing some more basic
analysis/transforms, but this keeps the vector path in sync with the
scalar (rL374397). This is again a preliminary step for introducing the
reverse transform in IR as proposed in D63382.
llvm-svn: 374555
The file was modifiedllvm/test/CodeGen/X86/vselect.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/selectcc-to-shiftand.ll