[all-commits] [llvm/llvm-project] 5067f4: [LV] Check opt-for-size before expanding runtime c...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sat Aug 29 12:35:52 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5067f4b6261c07d5df94bf18407235d83ce33861
https://github.com/llvm/llvm-project/commit/5067f4b6261c07d5df94bf18407235d83ce33861
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-08-29 (Sat, 29 Aug 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Check opt-for-size before expanding runtime checks.
Move bail out when optimizing for size before runtime check generation.
In that case, we do not use the result of the expansion, the expanded
instruction will be dead and cleaned up later.
By doing the check before expanding the runtime-checks, we can save a
bit of unnecessary work.
More information about the All-commits
mailing list