8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225ce67 commit 1897b67Copy full SHA for 1897b67
flang/lib/Optimizer/CodeGen/TargetRewrite.cpp
@@ -501,7 +501,8 @@ class TargetRewrite : public fir::impl::TargetRewritePassBase<TargetRewrite> {
501
// correctly.
502
for (auto e : llvm::enumerate(funcTy.getInputs())) {
503
unsigned index = e.index();
504
- llvm::ArrayRef<mlir::NamedAttribute> attrs = func.getArgAttrs(index);
+ llvm::ArrayRef<mlir::NamedAttribute> attrs =
505
+ mlir::function_interface_impl::getArgAttrs(func, index);
506
for (mlir::NamedAttribute attr : attrs) {
507
savedAttrs.push_back({index, attr});
508
}
0 commit comments