[all-commits] [llvm/llvm-project] 8730ef: [InstCombine] add tests for inverted signbit splat...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Sun Aug 28 06:28:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8730ef9ab33341d8358bb8b13bd7c5a6f8c2f3ab
      https://github.com/llvm/llvm-project/commit/8730ef9ab33341d8358bb8b13bd7c5a6f8c2f3ab
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

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

  Log Message:
  -----------
  [InstCombine] add tests for inverted signbit splat mask; NFC


  Commit: 275aa24c0a5138a76b525c0b0e7ed04c79654368
      https://github.com/llvm/llvm-project/commit/275aa24c0a5138a76b525c0b0e7ed04c79654368
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

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

  Log Message:
  -----------
  [InstCombine] allow sext in fold of mask using signbit

~(iN X s>> (N-1)) & Y --> (X s< 0) ? 0 : Y -- with optional sext

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


Compare: https://github.com/llvm/llvm-project/compare/f1aa49ad34ce...275aa24c0a51


More information about the All-commits mailing list