[all-commits] [llvm/llvm-project] 830df6: [ConstraintElimination] Add test from PR53123.

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jan 24 10:33:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 830df62a07031d84257a8a208798a6a2b4c0461a
      https://github.com/llvm/llvm-project/commit/830df62a07031d84257a8a208798a6a2b4c0461a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M llvm/test/Transforms/ConstraintElimination/sub-nuw.ll

  Log Message:
  -----------
  [ConstraintElimination] Add test from PR53123.


  Commit: 8a15caaae56182815839741de414a0ba60037a9a
      https://github.com/llvm/llvm-project/commit/8a15caaae56182815839741de414a0ba60037a9a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/sub-nuw.ll

  Log Message:
  -----------
  [ConstraintElimination] Fix sign of sub decomposition.

Update the decomposition code to make sure the right coefficient (-1) is
used for the second operand of the subtract.

Fixes PR53123.


Compare: https://github.com/llvm/llvm-project/compare/d27f02261442...8a15caaae561


More information about the All-commits mailing list