Skip to content

Commit 2d9f02d

Browse files
fix white space
1 parent aaa5e52 commit 2d9f02d

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

llvm/lib/Target/SPIRV/SPIRVStructurizer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,8 @@ FunctionPass *llvm::createSPIRVStructurizerPass() {
12271227
return new SPIRVStructurizer();
12281228
}
12291229

1230-
PreservedAnalyses SPIRVStructurizerWrapper::run(Function &F, FunctionAnalysisManager &AF){
1230+
PreservedAnalyses SPIRVStructurizerWrapper::run(Function &F,
1231+
FunctionAnalysisManager &AF) {
12311232
FunctionPass *StructurizerPass = createSPIRVStructurizerPass();
12321233
if (!StructurizerPass->runOnFunction(F))
12331234
return PreservedAnalyses::all();

llvm/lib/Target/SPIRV/SPIRVStructurizerWrapper.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//===- SPIRVStructurizerWrapper.h - New pass manager wrapper from SPIRV Structurizer -----------*- C++ -*-===//
1+
//===- SPIRVStructurizerWrapper.h - New pass manager wrapper from SPIRV
2+
// Structurizer -----------*- C++ -*-===//
23
//
34
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
45
// See https://llvm.org/LICENSE.txt for license information.
@@ -17,7 +18,8 @@
1718

1819
namespace llvm {
1920

20-
class SPIRVStructurizerWrapper : public PassInfoMixin<SPIRVStructurizerWrapper> {
21+
class SPIRVStructurizerWrapper
22+
: public PassInfoMixin<SPIRVStructurizerWrapper> {
2123
public:
2224
PreservedAnalyses run(Function &M, FunctionAnalysisManager &AM);
2325
};

llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
#include "SPIRVTargetMachine.h"
1414
#include "SPIRV.h"
15-
#include "SPIRVStructurizerWrapper.h"
1615
#include "SPIRVCallLowering.h"
1716
#include "SPIRVGlobalRegistry.h"
1817
#include "SPIRVLegalizerInfo.h"
18+
#include "SPIRVStructurizerWrapper.h"
1919
#include "SPIRVTargetObjectFile.h"
2020
#include "SPIRVTargetTransformInfo.h"
2121
#include "TargetInfo/SPIRVTargetInfo.h"

llvm/lib/Target/SPIRV/SPIRVTargetMachine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class SPIRVTargetMachine : public CodeGenTargetMachineImpl {
4343
TargetLoweringObjectFile *getObjFileLowering() const override {
4444
return TLOF.get();
4545
}
46-
46+
4747
void registerPassBuilderCallbacks(PassBuilder &PB) override;
4848
};
4949
} // namespace llvm

llvm/tools/opt/optdriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
376376
"expand-large-fp-convert",
377377
"callbrprepare",
378378
"scalarizer",
379-
};
379+
};
380380
for (const auto &P : PassNamePrefix)
381381
if (Pass.starts_with(P))
382382
return true;

0 commit comments

Comments
 (0)