File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -836,8 +836,8 @@ LogicalResult ModuleTranslation::convertOneFunction(LLVMFuncOp func) {
836
836
if (!argTy.isa <LLVM::LLVMPointerType>())
837
837
return func.emitError (
838
838
" llvm.align attribute attached to LLVM non-pointer argument" );
839
- llvmArg.addAttrs (
840
- llvm::AttrBuilder (llvmArg. getContext ()) .addAlignmentAttr (llvm::Align (attr.getInt ())));
839
+ llvmArg.addAttrs (llvm::AttrBuilder (llvmArg. getContext ())
840
+ .addAlignmentAttr (llvm::Align (attr.getInt ())));
841
841
}
842
842
843
843
if (auto attr = func.getArgAttrOfType <UnitAttr>(argIdx, " llvm.sret" )) {
@@ -865,7 +865,7 @@ LogicalResult ModuleTranslation::convertOneFunction(LLVMFuncOp func) {
865
865
return func.emitError (
866
866
" llvm.nest attribute attached to LLVM non-pointer argument" );
867
867
llvmArg.addAttrs (llvm::AttrBuilder (llvmArg.getContext ())
868
- .addAttribute (llvm::Attribute::Nest));
868
+ .addAttribute (llvm::Attribute::Nest));
869
869
}
870
870
871
871
mapValue (mlirArg, &llvmArg);
You can’t perform that action at this time.
0 commit comments