[all-commits] [llvm/llvm-project] 039947: [InstCombine] add fold for (ShiftC >> X) <u C

Sanjay Patel via All-commits all-commits at lists.llvm.org
Sun Jun 19 08:05:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0399473de886595d8ce3346f2cc99c94267496e5
      https://github.com/llvm/llvm-project/commit/0399473de886595d8ce3346f2cc99c94267496e5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-06-19 (Sun, 19 Jun 2022)

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

  Log Message:
  -----------
  [InstCombine] add fold for (ShiftC >> X) <u C

https://alive2.llvm.org/ce/z/RcdzM-

This fixes a regression noted in issue #56046.




More information about the All-commits mailing list