[all-commits] [llvm/llvm-project] b9a6b4: [InstSimplify] add tests for poison-safe variants ...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Sun Jan 22 07:50:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9a6b4e3eb61365d59b331cda5c5c58542a3668d
      https://github.com/llvm/llvm-project/commit/b9a6b4e3eb61365d59b331cda5c5c58542a3668d
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/select-logical.ll

  Log Message:
  -----------
  [InstSimplify] add tests for poison-safe variants of (X || Y) && Y; NFC


  Commit: d178c15caccda8537c6440ea6ba76bd25cbd8d8c
      https://github.com/llvm/llvm-project/commit/d178c15caccda8537c6440ea6ba76bd25cbd8d8c
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-22 (Sun, 22 Jan 2023)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll
    M llvm/test/Transforms/InstSimplify/select-logical.ll

  Log Message:
  -----------
  [InstSimplify] (X || Y) && Y --> Y (for poison-safe logical ops)

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

This is the conjugate/sibling pattern suggested in post-commit
feedback for:
9444252a674df5952bb5af2b76348ae4b45

issue #60167


Compare: https://github.com/llvm/llvm-project/compare/c8d16bf30483...d178c15caccd


More information about the All-commits mailing list