SuccessChanges

Summary

  1. Canonicalize declaration pointers when forming APValues. (details)
  2. Remove unused and dangerous overload of PerformImplicitConversion. (details)
  3. [codegen] Ensure target flags are cleared/set properly. NFC. (details)
Commit e6393ee813178e9d3306b8e3c6949a4f32f8a2cb by richard
Canonicalize declaration pointers when forming APValues.

References to different declarations of the same entity aren't different
values, so shouldn't have different representations.
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp (diff)
The file was modifiedclang/lib/AST/ExprConstant.cpp (diff)
The file was modifiedclang/include/clang/AST/APValue.h (diff)
The file was modifiedclang/lib/AST/APValue.cpp (diff)
The file was modifiedclang/test/OpenMP/ordered_messages.cpp (diff)
Commit 052dbe226cb3540c77cf0b3dc4a51a4ab7726b55 by richard
Remove unused and dangerous overload of PerformImplicitConversion.

Previously we had two overloads where the only real difference beyond
parameter order was whether a reference parameter is const, where one
overload treated the reference parameter as an in-parameter and the
other treated it as an out-parameter!
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/lib/Sema/SemaOverload.cpp (diff)
Commit bf41c4d29e44bfe3ae96c968e2e44761d5acb3ed by michael.hliao
[codegen] Ensure target flags are cleared/set properly. NFC.

- When an operand is changed into an immediate value or like, ensure their
  target flags being cleared or set properly.

Differential Revision: https://reviews.llvm.org/D87109
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/MachineOperand.h (diff)
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp (diff)