[all-commits] [llvm/llvm-project] 6b560a: [InstCombine] add tests for DeMorgan with reassoci...

RotateRight via All-commits all-commits at lists.llvm.org
Thu Oct 21 07:44:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b560a8e235b4f610cce6a2db8188f42ce65c5fb
      https://github.com/llvm/llvm-project/commit/6b560a8e235b4f610cce6a2db8188f42ce65c5fb
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/and-xor-or.ll

  Log Message:
  -----------
  [InstCombine] add tests for DeMorgan with reassociation; NFC

These are direct mutations of the tests added for D112108 -
we should handle the sibling folds for 'or'.


  Commit: 3888de9507c78d3d77a4f565f30a3bf1b2fce690
      https://github.com/llvm/llvm-project/commit/3888de9507c78d3d77a4f565f30a3bf1b2fce690
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/and-xor-or.ll

  Log Message:
  -----------
  [InstCombine] generalize reassociated Demorgan folds

This updates the recent D112108 / b92412fb286be26d
to handle the flipped logic ('or') sibling:
https://alive2.llvm.org/ce/z/Y2L6Ch


Compare: https://github.com/llvm/llvm-project/compare/88303693ce97...3888de9507c7


More information about the All-commits mailing list