[all-commits] [llvm/llvm-project] 8f4042: [InstCombine] add tests for icmp of rotate (PR5156...

RotateRight via All-commits all-commits at lists.llvm.org
Fri Sep 3 11:52:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f4042ee4084d773a7d73b4b62400ad5945cb798
      https://github.com/llvm/llvm-project/commit/8f4042ee4084d773a7d73b4b62400ad5945cb798
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    A llvm/test/Transforms/InstCombine/icmp-fsh.ll

  Log Message:
  -----------
  [InstCombine] add tests for icmp of rotate (PR51566); NFC


  Commit: d1458903eb5a215aa7eb29229fddb429c7d23ffa
      https://github.com/llvm/llvm-project/commit/d1458903eb5a215aa7eb29229fddb429c7d23ffa
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] reduce code duplication; NFC


  Commit: fd807601a7845a135ec16af674b70ef667c4d796
      https://github.com/llvm/llvm-project/commit/fd807601a7845a135ec16af674b70ef667c4d796
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-fsh.ll

  Log Message:
  -----------
  [InstCombine] fold (rotate X) eq/ne (0/-1)

This generalizes the examples shown in:
https://llvm.org/PR51566

https://alive2.llvm.org/ce/z/V-sEy9


Compare: https://github.com/llvm/llvm-project/compare/5e50d3073a5e...fd807601a784


More information about the All-commits mailing list