File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ bool SPIRVPrepareFunctions::substituteIntrinsicCalls(Function *F) {
303
303
} else if (II->getIntrinsicID () == Intrinsic::assume ||
304
304
II->getIntrinsicID () == Intrinsic::expect) {
305
305
const SPIRVSubtarget &STI = TM.getSubtarget <SPIRVSubtarget>(*F);
306
- if (STI.canUseExtension (SPIRV::Extension::SPV_KHR_expect_assume))
306
+ if (STI.canUseExtension (SPIRV::Extension::SPV_KHR_expect_assume))
307
307
lowerExpectAssume (II);
308
308
Changed = true ;
309
309
}
@@ -399,6 +399,7 @@ bool SPIRVPrepareFunctions::runOnModule(Module &M) {
399
399
return Changed;
400
400
}
401
401
402
- ModulePass *llvm::createSPIRVPrepareFunctionsPass (const SPIRVTargetMachine &TM) {
402
+ ModulePass *
403
+ llvm::createSPIRVPrepareFunctionsPass (const SPIRVTargetMachine &TM) {
403
404
return new SPIRVPrepareFunctions (TM);
404
405
}
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ class SPIRVPassConfig : public TargetPassConfig {
109
109
void addOptimizedRegAlloc () override {}
110
110
111
111
void addPostRegAlloc () override ;
112
- private:
112
+
113
+ private:
113
114
const SPIRVTargetMachine &TM;
114
115
};
115
116
} // namespace
You can’t perform that action at this time.
0 commit comments