[llvm-bugs] [Bug 43887] New: Vectorization failure due to SimplifyCFG's hoisting of identical load from two BB's
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Sat Nov  2 11:30:32 PDT 2019
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=43887
            Bug ID: 43887
           Summary: Vectorization failure due to SimplifyCFG's hoisting of
                    identical load from two BB's
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org
https://godbolt.org/z/7tG__b
The first load is identical for both of the basic blocks,
and if we look at -print-after-all, until `Simplify the CFG` both BB's had
that load, but SimplifyCFG hoists it from both of the blocks.
And SLPVectrorizer only analyzes one basic block at the time, so
SLP: Gathering due to C,S,B,O.
-- 
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/20191102/435c8ae1/attachment.html>
    
    
More information about the llvm-bugs
mailing list