[PATCH] D75981: [LV] Allow large RT checks, if they are a fraction of the scalar cost (WIP)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 15:20:12 PDT 2020
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7872
+ // runtime checks.
+ CanIgnoreRTThreshold = RTCost < (*ExpectedTC * CM.ScalarCost * 0.005);
+ LLVM_DEBUG(dbgs() << "LV: Cost of runtime check: " << RTCost << " "
----------------
Please make 0.005 an option
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75981/new/
https://reviews.llvm.org/D75981
More information about the llvm-commits
mailing list