From bcd6c2d2031af50ffe9b357e839b8a9dd4d0ddd6 Mon Sep 17 00:00:00 2001 From: Thomas Symalla Date: Tue, 12 Jan 2021 12:58:36 +0100 Subject: [PATCH] Updating formatting changes. --- .../lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp b/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp index 9e51aea..220c40e 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// <<<<<<< HEAD +<<<<<<< HEAD #include "AMDGPU.h" #include "AMDGPULegalizerInfo.h" #include "GCNSubtarget.h" @@ -20,6 +21,12 @@ #include "AMDGPUTargetMachine.h" >>>>>>> clang-format #include "MCTargetDesc/AMDGPUMCTargetDesc.h" +======= +#include "AMDGPUTargetMachine.h" +#include "AMDGPULegalizerInfo.h" + + +>>>>>>> Updating formatting changes. #include "llvm/CodeGen/GlobalISel/Combiner.h" #include "llvm/CodeGen/GlobalISel/CombinerHelper.h" #include "llvm/CodeGen/GlobalISel/CombinerInfo.h" @@ -31,7 +38,11 @@ #include "llvm/Target/TargetMachine.h" ======= #include "llvm/Support/Debug.h" +<<<<<<< HEAD >>>>>>> clang-format +======= +#include "MCTargetDesc/AMDGPUMCTargetDesc.h" +>>>>>>> Updating formatting changes. #define DEBUG_TYPE "amdgpu-postlegalizer-combiner" @@ -374,8 +385,8 @@ bool AMDGPUPostLegalizerCombiner::runOnMachineFunction(MachineFunction &MF) { MF.getTarget().getOptLevel() != CodeGenOpt::None && !skipFunction(F); const GCNSubtarget &ST = MF.getSubtarget(); - const AMDGPULegalizerInfo *LI = - static_cast(ST.getLegalizerInfo()); + const AMDGPULegalizerInfo *LI + = static_cast(ST.getLegalizerInfo()); GISelKnownBits *KB = &getAnalysis().get(MF); MachineDominatorTree *MDT = @@ -388,8 +399,8 @@ bool AMDGPUPostLegalizerCombiner::runOnMachineFunction(MachineFunction &MF) { char AMDGPUPostLegalizerCombiner::ID = 0; INITIALIZE_PASS_BEGIN(AMDGPUPostLegalizerCombiner, DEBUG_TYPE, - "Combine AMDGPU machine instrs after legalization", false, - false) + "Combine AMDGPU machine instrs after legalization", + false, false) INITIALIZE_PASS_DEPENDENCY(TargetPassConfig) INITIALIZE_PASS_DEPENDENCY(GISelKnownBitsAnalysis) INITIALIZE_PASS_END(AMDGPUPostLegalizerCombiner, DEBUG_TYPE, -- 2.7.4