[all-commits] [llvm/llvm-project] e571e5: [InstCombine] add tests for not-of-min/max; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Wed Apr 7 05:36:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e571e56ae839e8f672eeb57f60581dac12b0688d
      https://github.com/llvm/llvm-project/commit/e571e56ae839e8f672eeb57f60581dac12b0688d
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll

  Log Message:
  -----------
  [InstCombine] add tests for not-of-min/max; NFC


  Commit: 0333ed8e0c3763e50ec0c43e289967d407c14786
      https://github.com/llvm/llvm-project/commit/0333ed8e0c3763e50ec0c43e289967d407c14786
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] move abs transform to helper function; NFC

The swap of the operands can affect later transforms that
are expecting a constant as operand 1. I don't think we
can trigger a bug with the current code, but I hit that
problem while drafting a new transform for min/max intrinsics.


Compare: https://github.com/llvm/llvm-project/compare/65a3f289397f...0333ed8e0c37


More information about the All-commits mailing list