[all-commits] [llvm/llvm-project] 167767: SpeculativeExecution: Fix for logic change introdu...

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Thu Jul 9 05:45:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 167767a775f3db5cd94053d4da6a4f419b6211cd
      https://github.com/llvm/llvm-project/commit/167767a775f3db5cd94053d4da6a4f419b6211cd
  Author: dfukalov <daniil.fukalov at amd.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
    M llvm/test/Transforms/SpeculativeExecution/PR46267.ll

  Log Message:
  -----------
  SpeculativeExecution: Fix for logic change introduced in D81730.

Summary:
The test case started to hoist bitcasts to upper BB after D81730.
Reverted unintentional logic change. Some instructions may have zero cost but
will not be hoisted by different limitation so should be counted for threshold.

Reviewers: aprantl, arsenm, nhaehnle

Reviewed By: aprantl

Subscribers: wdng, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list