PPC: Add a FIXME regarding the non-working fma+fneg Altivec pattern

llvm-svn: 178658
This commit is contained in:
Hal Finkel 2013-04-03 14:40:16 +00:00
parent 2ed21a8ca6
commit 0c6d21933a
1 changed files with 2 additions and 0 deletions

View File

@ -318,6 +318,8 @@ def VMADDFP : VAForm_1<46, (outs VRRC:$vD), (ins VRRC:$vA, VRRC:$vC, VRRC:$vB),
"vmaddfp $vD, $vA, $vC, $vB", VecFP,
[(set v4f32:$vD,
(fma v4f32:$vA, v4f32:$vC, v4f32:$vB))]>;
// FIXME: The fma+fneg pattern won't match because fneg is not legal.
def VNMSUBFP: VAForm_1<47, (outs VRRC:$vD), (ins VRRC:$vA, VRRC:$vC, VRRC:$vB),
"vnmsubfp $vD, $vA, $vC, $vB", VecFP,
[(set v4f32:$vD, (fneg (fma v4f32:$vA, v4f32:$vC,