http://llvm.org/bugs/show_bug.cgi?id=19319
Bug ID: 19319
Summary: LoopVectorize does not check if function should be
optimized at all
Product: new-bugs
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Most of passes that inherit FunctionPass start their implementation of
runOnFunction() like this (code taken from SLPVectorizer.cpp in the same
directory):
bool runOnFunction(Function &F) override {
if (skipOptnoneFunction(F))
return false;
...
For some reason LoopVectorizer.cpp does not contain such checking in its
runOnFunction() method.
Shouldn't it be added?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs