[all-commits] [llvm/llvm-project] 6472cb: [FuncSpec] Improve estimation of select instructio...

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Wed Oct 9 02:25:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6472cb1e219f631ed504bb1c5675853168748d21
      https://github.com/llvm/llvm-project/commit/6472cb1e219f631ed504bb1c5675853168748d21
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp

  Log Message:
  -----------
  [FuncSpec] Improve estimation of select instruction. (#111176)

When propagating a constant to a select instruction we only consider the
condition operand as the use. I am extending the logic to consider the
true and false values too, in case the condition had been found to be
constant in a previous propagation but halted.



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