[flang-commits] [flang] [flang][cuda] Update target rewrite to work on gpu.func (PR #119283)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Tue Dec 10 11:27:49 PST 2024
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/119283 at github.com>
================
@@ -898,13 +911,13 @@ class TargetRewrite : public fir::impl::TargetRewritePassBase<TargetRewrite> {
.template Case<fir::RecordType>([&](fir::RecordType recTy) {
doStructArg(func, recTy, newInTyAndAttrs, fixups);
})
- .Default([&](mlir::Type ty) {
+ .template Default([&](mlir::Type ty) {
----------------
clementval wrote:
```suggestion
.Default([&](mlir::Type ty) {
```
https://github.com/llvm/llvm-project/pull/119283
More information about the flang-commits
mailing list