[all-commits] [llvm/llvm-project] 9cee94: [GlobalISel] Add identity fold for fadd -0.0 (#73296)

David Green via All-commits all-commits at lists.llvm.org
Sat Nov 25 00:35:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cee94b81b14acf6e22b123e03e88ccff6d6913d
      https://github.com/llvm/llvm-project/commit/9cee94b81b14acf6e22b123e03e88ccff6d6913d
  Author: David Green <david.green at arm.com>
  Date:   2023-11-25 (Sat, 25 Nov 2023)

  Changed paths:
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir

  Log Message:
  -----------
  [GlobalISel] Add identity fold for fadd -0.0 (#73296)

-0.0 acts as the identity element for fadd. This doesn't try to add 0.0
too, which would require nsz fast math flags.




More information about the All-commits mailing list