SuccessChanges

Summary

  1. [AMDGPU][MC] Improved diagnostics message for sym/expr operands (details)
  2. [ConstraintElimination] Handle constraints with all zero var coeffs. (details)
  3. [ConstraintElimination] Wrap dump() call in LLVM_DEBUG (NFC). (details)
Commit a0b3a9391cd8cfff2ad1741f12e5ed10acc97869 by dmitry.preobrazhensky
[AMDGPU][MC] Improved diagnostics message for sym/expr operands

See bug 48295 (https://bugs.llvm.org/show_bug.cgi?id=48295)

Reviewers: rampitec

Differential Revision: https://reviews.llvm.org/D92088
The file was modifiedllvm/test/MC/AMDGPU/ds-err.s
The file was modifiedllvm/test/MC/AMDGPU/sopp-err.s
The file was modifiedllvm/test/MC/AMDGPU/gfx10_err_pos.s
The file was modifiedllvm/test/MC/AMDGPU/sopk-err.s
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
Commit 4ceecc820b7197c2f302aa235875eb6619a397c3 by flo
[ConstraintElimination] Handle constraints with all zero var coeffs.

Constraints where all variable coefficients are 0 do not add any useful
information. When checking, we can check if they are always true/false.
The file was addedllvm/test/Transforms/ConstraintElimination/empty-constraint.ll
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/include/llvm/Analysis/ConstraintSystem.h
The file was modifiedllvm/lib/Analysis/ConstraintSystem.cpp
Commit 4e5c0c2a63e2dff804a32b22d7d815a35a47c8d7 by flo
[ConstraintElimination] Wrap dump() call in LLVM_DEBUG (NFC).

ConstraintSystem::dump only generates output with -debug, but there's no
need to call it without -debug.
The file was modifiedllvm/lib/Analysis/ConstraintSystem.cpp