aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-03-24 10:01:20 +0000
committerFlorian Hahn <flo@fhahn.com>2021-03-24 11:01:44 +0000
commitcd0c00c9fe39a5dff9c776e5727fdf38be7e8132 (patch)
tree9a7239ede47c1a3fd038f77dd94dcb9a32949e46 /clang/lib/Frontend/CompilerInvocation.cpp
parent772e9f88dd78e6295bd71f1add4bcd7be0582817 (diff)
downloadllvm-cd0c00c9fe39a5dff9c776e5727fdf38be7e8132.zip
llvm-cd0c00c9fe39a5dff9c776e5727fdf38be7e8132.tar.gz
llvm-cd0c00c9fe39a5dff9c776e5727fdf38be7e8132.tar.bz2
[LV] Move exact FP math check out of Requirements.
We know if the loop contains FP instructions preventing vectorization after we are done with legality checks. This patch updates the code the check for un-vectorizable FP operations earlier, to avoid unnecessarily running the cost model and picking a vectorization factor. It also makes the code more direct and moves the check to a position where similar checks are done. I might be missing something, but I don't see any reason to handle this check differently to other, similar checks. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D98633
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions