[all-commits] [llvm/llvm-project] b9a8be: [tests] precommit tests for D156499

Allen via All-commits all-commits at lists.llvm.org
Sun Aug 6 21:00:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a8bec05c31dbd34b4ab09386e2a813d1f2f7db
      https://github.com/llvm/llvm-project/commit/b9a8bec05c31dbd34b4ab09386e2a813d1f2f7db
  Author: Zhongyunde <zhongyunde at huawei.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/abs-intrinsic.ll

  Log Message:
  -----------
  [tests] precommit tests for D156499

Reviewed By: goldstein.w.n
Differential Revision: https://reviews.llvm.org/D156521


  Commit: 4225f54bf576daf1555de44f71670bbc7c7e5923
      https://github.com/llvm/llvm-project/commit/4225f54bf576daf1555de44f71670bbc7c7e5923
  Author: Zhongyunde <zhongyunde at huawei.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/abs-intrinsic.ll

  Log Message:
  -----------
  [InstCombine] Fold abs of known sign operand when source is sub

abs(x-y) --> x-y where x >= y, done on D122013
abs(x-y) --> y-x where x <= y

proofs: https://alive2.llvm.org/ce/z/KkeEsd

Reviewed By: goldstein.w.n, nikic
Differential Revision: https://reviews.llvm.org/D156499


Compare: https://github.com/llvm/llvm-project/compare/0c1f3186463d...4225f54bf576


More information about the All-commits mailing list