[all-commits] [llvm/llvm-project] 7ab0a8: [InstCombine] Try to freely invert phi nodes (#80804)

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Wed Feb 7 05:39:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ab0a871431375cb966b0653b9f5caaba15cb6d9
      https://github.com/llvm/llvm-project/commit/7ab0a871431375cb966b0653b9f5caaba15cb6d9
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/free-inversion.ll

  Log Message:
  -----------
  [InstCombine] Try to freely invert phi nodes (#80804)

This patch tries to invert phi nodes if all incoming values are either
constants or nots.




More information about the All-commits mailing list