[all-commits] [llvm/llvm-project] 47ebf7: [GVNSink] auto-generate test checks; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Fri Apr 2 10:17:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47ebf7764db2498a56877defdd9bda9fcaf584ab
      https://github.com/llvm/llvm-project/commit/47ebf7764db2498a56877defdd9bda9fcaf584ab
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M llvm/test/Transforms/GVNSink/assumption.ll

  Log Message:
  -----------
  [GVNSink] auto-generate test checks; NFC


  Commit: 6643132154535c9911d536146369d0e16d49a591
      https://github.com/llvm/llvm-project/commit/6643132154535c9911d536146369d0e16d49a591
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/not.ll

  Log Message:
  -----------
  [InstCombine] add tests for not+or+neg; NFC

https://llvm.org/PR45755


  Commit: 412fc74140c01cc9c29245a248edeee59d8814a4
      https://github.com/llvm/llvm-project/commit/412fc74140c01cc9c29245a248edeee59d8814a4
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/not.ll

  Log Message:
  -----------
  [InstCombine] fold not+or+neg

~((-X) | Y) --> (X - 1) & (~Y)

We generally prefer 'add' over 'sub', this reduces the
dependency chain, and this looks better for codegen on
x86, ARM, and AArch64 targets.

https://llvm.org/PR45755

https://alive2.llvm.org/ce/z/cxZDSp


Compare: https://github.com/llvm/llvm-project/compare/6abb92f2103a...412fc74140c0


More information about the All-commits mailing list