[all-commits] [llvm/llvm-project] dccddb: [InstCombine] add tests for icmp with mul op with ...

RotateRight via All-commits all-commits at lists.llvm.org
Sun Dec 5 06:57:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dccddb268be8363b91157684be743807af746fce
      https://github.com/llvm/llvm-project/commit/dccddb268be8363b91157684be743807af746fce
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

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

  Log Message:
  -----------
  [InstCombine] add tests for icmp with mul op with known bits; NFC

D114962


  Commit: 0bb8a97b41498860d60a06ad1df2758a36a580ca
      https://github.com/llvm/llvm-project/commit/0bb8a97b41498860d60a06ad1df2758a36a580ca
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/or.ll

  Log Message:
  -----------
  [InstSimplify] add/adjust tests for 'or' logic fold; NFC

The last test shows a miscompile:
https://alive2.llvm.org/ce/z/s5xy55


  Commit: c65e651e6025dd04b69ea144a94962a5b4716681
      https://github.com/llvm/llvm-project/commit/c65e651e6025dd04b69ea144a94962a5b4716681
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/or.ll

  Log Message:
  -----------
  [InstSimplify] fix logic fold of 'or' for vectors

Reduce code duplication for commutative pattern matching
and fix a miscompile.

We can't safely propagate an undef element in this transform:
https://alive2.llvm.org/ce/z/s5xy55


Compare: https://github.com/llvm/llvm-project/compare/514d37441918...c65e651e6025


More information about the All-commits mailing list