[llvm-bugs] [Bug 44574] New: [NewPM] SpeculativeExecutionPass is run on all targets

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 16 13:09:48 PST 2020


            Bug ID: 44574
           Summary: [NewPM] SpeculativeExecutionPass is run on all targets
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: nikita.ppv at gmail.com
                CC: llvm-bugs at lists.llvm.org, spatel+llvm at rotateright.com

As pointed out by @spatel on https://reviews.llvm.org/D72861, with NewPM the
SpeculativeExecutionPass is executed on all targets, even if the target doesn't
have branch divergence.

New PM:
Legacy PM:

As the new PM pass builder retains the comment that this is a nop on targets
without branch divergence, this is probably an oversight. The `false` parameter
to the pass constructor is missing.

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/20200116/ce741338/attachment.html>

More information about the llvm-bugs mailing list