[llvm-branch-commits] CodeGenPrepare, X86: Support sinking phi nodes. (PR #141716)

2025-05-27 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Peter Collingbourne (pcc) Changes isProfitableToSinkOperands() may now return a phi node. If it does, check that all incoming values are identical and if so, replace the phi use with a clone of the incoming value. Use this mechani

[llvm-branch-commits] CodeGenPrepare, X86: Support sinking phi nodes. (PR #141716)

2025-05-27 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Peter Collingbourne (pcc) Changes isProfitableToSinkOperands() may now return a phi node. If it does, check that all incoming values are identical and if so, replace the phi use with a clone of the incoming value. Use this mechanism t

[llvm-branch-commits] CodeGenPrepare, X86: Support sinking phi nodes. (PR #141716)

2025-05-27 Thread Peter Collingbourne via llvm-branch-commits
pcc wrote: Depends on #141326 https://github.com/llvm/llvm-project/pull/141716 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] CodeGenPrepare, X86: Support sinking phi nodes. (PR #141716)

2025-05-27 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc created https://github.com/llvm/llvm-project/pull/141716 isProfitableToSinkOperands() may now return a phi node. If it does, check that all incoming values are identical and if so, replace the phi use with a clone of the incoming value. Use this mechanism to sink phi node o