File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
flang/lib/Optimizer/CodeGen Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -819,14 +819,15 @@ struct TargetAArch64 : public GenericTarget<TargetAArch64> {
819819 // Zero extend for 'i1'.
820820 intExt = AT::IntegerExtension::Zero;
821821 } else {
822- if (triple.isOSDarwin ())
822+ if (triple.isOSDarwin ()) {
823823 // On Darwin, sign extend. The apple developer guide specifies this as
824824 // a divergence from the AArch64PCS:
825825 // https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Pass-arguments-to-functions-correctly
826826 intExt = AT::IntegerExtension::Sign;
827- else
827+ } else {
828828 // On linux, pass directly and do not extend.
829829 intExt = AT::IntegerExtension::None;
830+ }
830831 }
831832 CodeGenSpecifics::Marshalling marshal;
832833 marshal.emplace_back (argTy, AT{/* alignment=*/ 0 , /* byval=*/ false ,
You can’t perform that action at this time.
0 commit comments