mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-20 12:26:02 +00:00

Try to increase opportunities to shrink vcc uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307313 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
651 B
C++
20 lines
651 B
C++
//===- AMDGPUMacroFusion.h - AMDGPU Macro Fusion ----------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/CodeGen/MachineScheduler.h"
|
|
|
|
namespace llvm {
|
|
|
|
/// Note that you have to add:
|
|
/// DAG.addMutation(createAMDGPUMacroFusionDAGMutation());
|
|
/// to AMDGPUPassConfig::createMachineScheduler() to have an effect.
|
|
std::unique_ptr<ScheduleDAGMutation> createAMDGPUMacroFusionDAGMutation();
|
|
|
|
} // llvm
|