[PATCH] D31169: [DAGCombiner] Initial support for the fast-math flag contract
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 11:45:08 PDT 2017
arsenm added inline comments.
================
Comment at: test/CodeGen/AArch64/neon-fma-FMF.ll:5-6
+;CHECK: fmla {{v[0-9]+}}.2s, {{v[0-9]+}}.2s, {{v[0-9]+}}.2s
+ %tmp1 = fmul contract <2 x float> %A, %B;
+ %tmp2 = fadd contract <2 x float> %C, %tmp1;
+ ret <2 x float> %tmp2
----------------
Needs tests where only the fmul or fadd are marked contract
https://reviews.llvm.org/D31169
More information about the llvm-commits
mailing list