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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to