[AArch64] add tests for fadd -> fma combines; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 21 Sep 2022 12:56:25 +0000 (08:56 -0400)
committerSanjay Patel <spatel@rotateright.com>
Wed, 21 Sep 2022 13:00:11 +0000 (09:00 -0400)
commitddd27a3d39344ce1f13316227eb176c7672a583c
tree3bca6c6f1562be6da8935550cb3978962595a743
parentb84be9f2f1acb7229e4a4fa12e0832854c22bd57
[AArch64] add tests for fadd -> fma combines; NFC

The transform to create a final fma was added with:
D132837 / c98a46fee6f4043276eac

These tests are intended to show the minimal fast-math-flags
necessary to enable the fold: currently only the final fadd
needs to have "reassoc".
llvm/test/CodeGen/AArch64/fadd-combines.ll