[all-commits] [llvm/llvm-project] c4e2fc: [InstCombine] Don't simplify `icmp eq/ne OneUse(A ...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Fri Sep 29 06:22:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4e2fcff788025415b523486efdbdac4f2b08c1e
      https://github.com/llvm/llvm-project/commit/c4e2fcff788025415b523486efdbdac4f2b08c1e
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-equality-xor.ll

  Log Message:
  -----------
  [InstCombine] Don't simplify `icmp eq/ne OneUse(A ^ Cst1), Cst2` in foldICmpEquality

This special case will be handled in foldICmpXorConstant later.
See also commit e9cb50a1e351e90be1a8e4ac1a4564cfc44a984b.




More information about the All-commits mailing list