[all-commits] [llvm/llvm-project] 3b071e: [InstCombine] add tests for signbit-smear; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Sat Aug 27 05:38:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b071e1d5df7b68e0cd06456b0adbf7a6faba8f2
      https://github.com/llvm/llvm-project/commit/3b071e1d5df7b68e0cd06456b0adbf7a6faba8f2
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-27 (Sat, 27 Aug 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/negated-bitmask.ll

  Log Message:
  -----------
  [InstCombine] add tests for signbit-smear; NFC

issue #57381


  Commit: c6e56024c699cb60cd1e8ece66e866ae0b9a6c7b
      https://github.com/llvm/llvm-project/commit/c6e56024c699cb60cd1e8ece66e866ae0b9a6c7b
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-27 (Sat, 27 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
    M llvm/test/Transforms/InstCombine/negated-bitmask.ll

  Log Message:
  -----------
  [InstCombine] fold signbit splat pattern that uses negate

0 - (zext (i8 X u>> 7) to iN) --> sext (i8 X s>> 7) to iN

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

This is part of solving issue #57381.


Compare: https://github.com/llvm/llvm-project/compare/ca04b49597cc...c6e56024c699


More information about the All-commits mailing list