aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorRosie Sumpter <rosie.sumpter@arm.com>2021-11-03 12:40:14 +0000
committerRosie Sumpter <rosie.sumpter@arm.com>2021-11-24 08:50:04 +0000
commit991074012a6c9a294c5c64cf51502934a8e9bb36 (patch)
tree52b7bd49f0be3feeefa2b69bb188c4edbf4c6bce /llvm/lib/CodeGen/MachineFunction.cpp
parentc2441b6b89bfe52a16f6c5ed5a0a49c9a02daf2a (diff)
downloadllvm-991074012a6c9a294c5c64cf51502934a8e9bb36.zip
llvm-991074012a6c9a294c5c64cf51502934a8e9bb36.tar.gz
llvm-991074012a6c9a294c5c64cf51502934a8e9bb36.tar.bz2
[LoopVectorize] Propagate fast-math flags for VPInstruction
In-loop vector reductions which use the llvm.fmuladd intrinsic involve the creation of two recipes; a VPReductionRecipe for the fadd and a VPInstruction for the fmul. If the call to llvm.fmuladd has fast-math flags these should be propagated through to the fmul instruction, so an interface setFastMathFlags has been added to the VPInstruction class to enable this. Differential Revision: https://reviews.llvm.org/D113125
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions