[all-commits] [llvm/llvm-project] d6a9ee: [AARCH64][DAGCombine] Add combine for negation of ...

Sunho Kim via All-commits all-commits at lists.llvm.org
Tue Feb 22 01:59:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6a9eec2382559aeae3bb87761afa1b6d351e9a5
      https://github.com/llvm/llvm-project/commit/d6a9eec2382559aeae3bb87761afa1b6d351e9a5
  Author: Sunho Kim <ksunhokim123 at gmail.com>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/neg-abs.ll
    M llvm/test/CodeGen/AArch64/neg-selects.ll

  Log Message:
  -----------
  [AARCH64][DAGCombine] Add combine for negation of CSEL absolute value pattern.

This folds a negation through a csel, which can come up during the
lowering of negative abs.

Fixes https://github.com/llvm/llvm-project/issues/51558.

Differential Revision: https://reviews.llvm.org/D112204




More information about the All-commits mailing list