File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ Attribute getDefaultGlobalMemorySpace(DataLayoutEntryInterface entry);
101101// / DataLayoutInterface if specified, otherwise returns the default.
102102uint64_t getDefaultStackAlignment (DataLayoutEntryInterface entry);
103103
104- // / Default handler for the stack alignment request. Dispatches to the
105- // / DataLayoutInterface if specified, otherwise returns the default.
104+ // / Default handler for the function pointer alignment request. Dispatches to
105+ // / the DataLayoutInterface if specified, otherwise returns the default.
106106Attribute getDefaultFunctionPointerAlignment (DataLayoutEntryInterface entry);
107107
108108// / Returns the value of the property from the specified DataLayoutEntry. If the
Original file line number Diff line number Diff line change @@ -316,9 +316,8 @@ mlir::detail::getDefaultStackAlignment(DataLayoutEntryInterface entry) {
316316// the entry is empty the default alignment zero is returned.
317317Attribute mlir::detail::getDefaultFunctionPointerAlignment (
318318 DataLayoutEntryInterface entry) {
319- if (entry == DataLayoutEntryInterface ()) {
319+ if (entry == DataLayoutEntryInterface ())
320320 return Attribute ();
321- }
322321 return entry.getValue ();
323322}
324323
You can’t perform that action at this time.
0 commit comments