diff options
author | Lang Hames <lhames@gmail.com> | 2012-06-05 19:07:46 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-06-05 19:07:46 +0000 |
commit | a59100cc08b031e97458e05bbacf2d40c1121dfa (patch) | |
tree | b6b4e61e759f5358f4d3e49542f883a72b661a1e /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 572a3a2cceae01ca2091f8f76bc184faca20dc62 (diff) | |
download | llvm-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