[all-commits] [llvm/llvm-project] 1a6ceb: [PM] Fix new PM to perform SpeculativeExecution as...

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Tue Jun 30 05:21:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a6cebb4d12c744699e23624f8afda5cbe216fe6
      https://github.com/llvm/llvm-project/commit/1a6cebb4d12c744699e23624f8afda5cbe216fe6
  Author: dfukalov <daniil.fukalov at amd.com>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [PM] Fix new PM to perform SpeculativeExecution as in old PM

Summary:
Old PM runs SpeculativeExecutionPass for targets that have divergent branches.
It uses `createSpeculativeExecutionIfHasBranchDivergencePass` that creates
the pass with `OnlyIfDivergentTarget=true`, whereas new PM just created the
pass with default `OnlyIfDivergentTarget=fase` so it unexpectedly runs and
causes buildbot test fails.

Reviewers: chandlerc, arsenm

Reviewed By: arsenm

Subscribers: wdng, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82735




More information about the All-commits mailing list