]> granicus.if.org Git - llvm/commitdiff
[GISel]: NFC. Add comment to G_FMA opcode as requested in rL305824
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Tue, 20 Jun 2017 19:52:29 +0000 (19:52 +0000)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Tue, 20 Jun 2017 19:52:29 +0000 (19:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305837 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/GenericOpcodes.td

index ed31e84046c8c9660c7f968382c3c82dfa255637..3ddd3532d3b25a49414525dbb453dc1a939a8300 100644 (file)
@@ -387,6 +387,7 @@ def G_FMUL : Instruction {
 }
 
 // Generic fused multiply-add instruction.
+// Behaves like llvm fma intrinsic ie src1 * src2 + src3
 def G_FMA : Instruction {
   let OutOperandList = (outs type0:$dst);
   let InOperandList = (ins type0:$src1, type0:$src2, type0:$src3);