[all-commits] [llvm/llvm-project] c45aa5: [InstCombine] Revert FSub optimization from #15775...

Vedant Paranjape via All-commits all-commits at lists.llvm.org
Fri Sep 12 09:16:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c45aa5c764ffcd1f0a4ce9f006f266d664ea6f19
      https://github.com/llvm/llvm-project/commit/c45aa5c764ffcd1f0a4ce9f006f266d664ea6f19
  Author: Vedant Paranjape <vedantparanjape160201 at gmail.com>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/fold-fadd-with-zero-gh154238.ll

  Log Message:
  -----------
  [InstCombine] Revert FSub optimization from #157757 (#158315)

Since FSub X, 0 gets canoncialised to FAdd X, -0 the said optimization
didn't make much sense for FSub. Remove it from IC and the adjoined
testcase.



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