A user on our system is seeing a new error in nvfortran 20.11 that did not occur in 20.9 (or in prior PGI versions). He is compiling a module as part of a standard FFT implementation, and he is using function inlining with reshaping as the code is being integrated into a GPU-offload application. The inlining is done but then LLVM reports the following error:
$ nvfortran -Minfo=inline -Minline=reshape -c singleton.f90 fftradix: 389, factorize inlined, size=38, file singleton.f90 (403) 393, transform inlined, size=315, file singleton.f90 (466) 394, permute inlined, size=185, file singleton.f90 (827) /glade/u/apps/opt/nvhpc/20.11/Linux_x86_64/20.11/compilers/share/llvm/bin/llc: error: /glade/u/apps/opt/nvhpc/20.11/Linux_x86_64/20.11/compilers/share/llvm/bin/llc: /glade/scratch/vanderwb/temp/nvfortranL8W4VWDthsvg.ll:8500:22: error: use of undefined value '%maxfactor' %364 = bitcast i64* %maxfactor to i32*, !dbg !462 ^
I can provide the f90 source file and a simple build script.