[LLVMbugs] [Bug 19319] New: LoopVectorize does not check if function should be optimized at all

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 2 21:07:53 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: newchief at king.net.pl
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140403/058deeac/attachment.html>


More information about the llvm-bugs mailing list