[TTI] getExtendedReductionCost - replace std::optional<FastMathFlags> args with FastM...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Apr 2023 10:07:55 +0000 (11:07 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 13 Apr 2023 10:26:28 +0000 (11:26 +0100)
commitfb8038db73f893c268ab69b17c1b5b193d40797d
treeabe7fb63ddb06b97d17ae56f592e141db97b5fd2
parent2524000187fc56a3f818a6562199037a90108eda
[TTI] getExtendedReductionCost - replace std::optional<FastMathFlags> args with FastMathFlags

Followup to D148149 where it was noticed that the std::optional wrapper wasn't helping with anything (we can just use an empty FastMathFlags()).
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h