[all-commits] [llvm/llvm-project] 9eb399: [InstCombine] Support zext nneg in `foldLogicCastC...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Feb 20 07:09:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eb399b8548b835547947884b75c5fa79f977394
      https://github.com/llvm/llvm-project/commit/9eb399b8548b835547947884b75c5fa79f977394
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-20 (Tue, 20 Feb 2024)

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

  Log Message:
  -----------
  [InstCombine] Support zext nneg in `foldLogicCastConstant` (#82355)

This patch extends [D36234](https://reviews.llvm.org/D36234) to handle
`zext nneg` instructions.
I found this while adding support for cast instructions in
`getFreelyInvertedImpl`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list