[all-commits] [llvm/llvm-project] d4cf85: [InstCombine] add tests for icmp with exact shift; ...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Fri Jan 14 09:53:32 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4cf8537489cd2e0291afcb281fc0a81a2249de0
      https://github.com/llvm/llvm-project/commit/d4cf8537489cd2e0291afcb281fc0a81a2249de0
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-shr.ll
    M llvm/test/Transforms/InstCombine/icmp.ll

  Log Message:
  -----------
  [InstCombine] add tests for icmp with exact shift; NFC


  Commit: 02455bea6b9d4bbbb58e9c30f3615cbe472a9477
      https://github.com/llvm/llvm-project/commit/02455bea6b9d4bbbb58e9c30f3615cbe472a9477
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

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

  Log Message:
  -----------
  [InstCombine] remove unnecessary use check on X >>exact == 0 fold

The transform replaces one icmp with another, so we should
not care if the shift has another use.


Compare: https://github.com/llvm/llvm-project/compare/fa244345e1ac...02455bea6b9d


More information about the All-commits mailing list