-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Flang: not yet implemented: intrinsic: REAL(KIND=2) in SPACING (used in e.g. HDF5) #83894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-flang-ir Author: Kei Davis (keidavis)
llvm-project/flang/include/flang/Optimizer/Support/Utils.h:131: not yet implemented: intrinsic: REAL(KIND=2) in SPACING
It seems it's not REAL(KIND=2), but the implementation for that type in the SPACING intrinsic. Looking at flang/lib/Optimizer/Builder/Runtime/Numeric.cpp, it appears that SPACING, and several other intrinsics, are implemented for larger float types. Compiling kind_find ( https://github.com/srinathv/Coding-Examples/blob/master/codingTests/fortran90/kindfind.f90) with flang suggests that REAL(KIND=2) is at least nominally implemented. Flang gives a sensible error message, but hoping to get this on someone's radar as much software depends on HDF5. Thanks! |
@llvm/issue-subscribers-flang-runtime Author: Kei Davis (keidavis)
llvm-project/flang/include/flang/Optimizer/Support/Utils.h:131: not yet implemented: intrinsic: REAL(KIND=2) in SPACING
It seems it's not REAL(KIND=2), but the implementation for that type in the SPACING intrinsic. Looking at flang/lib/Optimizer/Builder/Runtime/Numeric.cpp, it appears that SPACING, and several other intrinsics, are implemented for larger float types. Compiling kind_find ( https://github.com/srinathv/Coding-Examples/blob/master/codingTests/fortran90/kindfind.f90) with flang suggests that REAL(KIND=2) is at least nominally implemented. Flang gives a sensible error message, but hoping to get this on someone's radar as much software depends on HDF5. Thanks! |
llvm-project/flang/include/flang/Optimizer/Support/Utils.h:131: not yet implemented: intrinsic: REAL(KIND=2) in SPACING
It seems it's not REAL(KIND=2), but the implementation for that type in the SPACING intrinsic. Looking at flang/lib/Optimizer/Builder/Runtime/Numeric.cpp, it appears that SPACING, and several other intrinsics, are implemented for larger float types.
Compiling kind_find ( https://github.com/srinathv/Coding-Examples/blob/master/codingTests/fortran90/kindfind.f90) with flang suggests that REAL(KIND=2) is at least nominally implemented.
Flang gives a sensible error message, but hoping to get this on someone's radar as much software depends on HDF5.
Thanks!
The text was updated successfully, but these errors were encountered: