[all-commits] [llvm/llvm-project] f45c1e: [InstCombine] Change operand order in recursive an...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon May 23 08:31:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f45c1e436e47f18cbef83b1dffa15fb7f234b357
      https://github.com/llvm/llvm-project/commit/f45c1e436e47f18cbef83b1dffa15fb7f234b357
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

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

  Log Message:
  -----------
  [InstCombine] Change operand order in recursive and/or of icmps fold

The order obviously doesn't matter for bitwise and/or, but would
matter for logical and/or, so change it to preserve the original
order.




More information about the All-commits mailing list