[all-commits] [llvm/llvm-project] bfa3d2: [GlobalISel] Localizer: Allow targets not to run t...

Volkan Keles via All-commits all-commits at lists.llvm.org
Thu Dec 5 11:10:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bfa3d260b8238562b39f6a405e7ac366060401bc
      https://github.com/llvm/llvm-project/commit/bfa3d260b8238562b39f6a405e7ac366060401bc
  Author: Volkan Keles <vkeles at apple.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Localizer.h
    M llvm/lib/CodeGen/GlobalISel/Localizer.cpp

  Log Message:
  -----------
  [GlobalISel] Localizer: Allow targets not to run the pass conditionally

Summary:
Previously, it was not possible to skip running the localizer pass
conditionally. This patch adds an input function to the pass which
decides if the pass should run on the given MachineFunction or not.

No test case as there is no upstream target needs this functionality.

Reviewers: qcolombet

Reviewed By: qcolombet

Subscribers: rovka, hiraditya, Petar.Avramovic, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list