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 | 5afba6f00c3e2eef83aebbcff5fcfca2fa3c978e (patch) | |
tree | 85237683e44818f3491c303395729dcccfeeef70 /lib/CodeGen/MachineScheduler.cpp | |
parent | 09b5df8996b37e61369026d50b44713984adbdc4 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions