Skip to content

Commit be1cf3d

Browse files
committed
Fix clang-format issue.
1 parent 741e4b8 commit be1cf3d

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

mlir/lib/Conversion/ControlFlowToSPIRV/ControlFlowToSPIRVPass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ void ConvertControlFlowToSPIRVPass::runOnOperation() {
4343

4444
SPIRVConversionOptions options;
4545
options.emulateLT32BitScalarTypes = this->emulateLT32BitScalarTypes;
46-
options.emulateUnsupportedFloatTypes =
47-
this->emulateUnsupportedFloatTypes;
46+
options.emulateUnsupportedFloatTypes = this->emulateUnsupportedFloatTypes;
4847
SPIRVTypeConverter typeConverter(targetAttr, options);
4948

5049
// TODO: We should also take care of block argument type conversion.

mlir/lib/Conversion/FuncToSPIRV/FuncToSPIRVPass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ void ConvertFuncToSPIRVPass::runOnOperation() {
4242

4343
SPIRVConversionOptions options;
4444
options.emulateLT32BitScalarTypes = this->emulateLT32BitScalarTypes;
45-
options.emulateUnsupportedFloatTypes =
46-
this->emulateUnsupportedFloatTypes;
45+
options.emulateUnsupportedFloatTypes = this->emulateUnsupportedFloatTypes;
4746
SPIRVTypeConverter typeConverter(targetAttr, options);
4847

4948
RewritePatternSet patterns(context);

mlir/lib/Conversion/TensorToSPIRV/TensorToSPIRVPass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ class ConvertTensorToSPIRVPass
4141

4242
SPIRVConversionOptions options;
4343
options.emulateLT32BitScalarTypes = this->emulateLT32BitScalarTypes;
44-
options.emulateUnsupportedFloatTypes =
45-
this->emulateUnsupportedFloatTypes;
44+
options.emulateUnsupportedFloatTypes = this->emulateUnsupportedFloatTypes;
4645
SPIRVTypeConverter typeConverter(targetAttr, options);
4746

4847
RewritePatternSet patterns(context);

0 commit comments

Comments
 (0)