aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2022-06-01 14:01:37 +0100
committerDavid Sherwood <david.sherwood@arm.com>2022-06-07 10:21:31 +0100
commit997ecb0036a56df1fe77fafb69393255aa995de2 (patch)
tree0279cc5b076819e29a489f64b082a5ff522d78a1 /clang/lib/Frontend/InitPreprocessor.cpp
parent8324561e33b44804fe44215a28a2f64c15717dc0 (diff)
downloadllvm-997ecb0036a56df1fe77fafb69393255aa995de2.zip
llvm-997ecb0036a56df1fe77fafb69393255aa995de2.tar.gz
llvm-997ecb0036a56df1fe77fafb69393255aa995de2.tar.bz2
[LoopVectorize] Add FastMathFlags to the select used for reductions with tail-folding
Based on reviewer comments on https://reviews.llvm.org/D126692 I've added FastMathFlags to the select instruction used when tail-folding with reductions. These flags can then be used by InstCombine to decide upon the most optimal floating point identity value for fadd/fsub. Doing so unlocks further optimisations, such as folding selects into masked loads. Differential Revision: https://reviews.llvm.org/D126778
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions