[all-commits] [llvm/llvm-project] 4414e2: [InstSimplify] (-1 << x) s>> x --> -1

RotateRight via All-commits all-commits at lists.llvm.org
Wed Sep 29 10:04:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4414e2ad97d5566d6bdd2c5c050b1929d6e26028
      https://github.com/llvm/llvm-project/commit/4414e2ad97d5566d6bdd2c5c050b1929d6e26028
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll
    M llvm/test/Transforms/InstSimplify/shift.ll

  Log Message:
  -----------
  [InstSimplify] (-1 << x) s>> x --> -1

This was noticed in:
https://llvm.org/PR51351

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




More information about the All-commits mailing list