aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-06-05 19:07:46 +0000
committerLang Hames <lhames@gmail.com>2012-06-05 19:07:46 +0000
commita59100cc08b031e97458e05bbacf2d40c1121dfa (patch)
treeb6b4e61e759f5358f4d3e49542f883a72b661a1e /llvm/lib/CodeGen/MachineInstr.cpp
parent572a3a2cceae01ca2091f8f76bc184faca20dc62 (diff)
downloadllvm-a59100cc08b031e97458e05bbacf2d40c1121dfa.zip
llvm-a59100cc08b031e97458e05bbacf2d40c1121dfa.tar.gz
llvm-a59100cc08b031e97458e05bbacf2d40c1121dfa.tar.bz2
Add a new intrinsic: llvm.fmuladd. This intrinsic represents a multiply-add
expression (a * b + c) that can be implemented as a fused multiply-add (fma) if the target determines that this will be more efficient. This intrinsic will be used to implement FP_CONTRACT support and an aggressive FMA formation mode. If your target has a fast FMA instruction you should override the isFMAFasterThanMulAndAdd method in TargetLowering to return true. llvm-svn: 158014
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions