[all-commits] [llvm/llvm-project] 9bb18a: [flang] Add semantics test for image_status and ad...
Katherine Rasmussen via All-commits
all-commits at lists.llvm.org
Mon Jul 11 10:55:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9bb18a983f2f41dc0f933f1263678e66ee912fa8
https://github.com/llvm/llvm-project/commit/9bb18a983f2f41dc0f933f1263678e66ee912fa8
Author: Katherine Rasmussen <krasmussen at lbl.gov>
Date: 2022-07-11 (Mon, 11 Jul 2022)
Changed paths:
M flang/lib/Evaluate/intrinsics.cpp
A flang/test/Semantics/image_status.f90
A flang/test/Semantics/ishftc.f90
Log Message:
-----------
[flang] Add semantics test for image_status and add a check
Add a semantics test for the intrinsic function image_status. Add
a check and restriction on the image argument in image_status,
ensuring that it is a positive value. Add same check on the
size argument of the intrinsic ishftc. Add another check on
the shift argument of ishftc, ensuring that it is less than or
equal to the size argument. Add a short semantics test checking
these restrictions in ishftc function calls.
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D128009
More information about the All-commits
mailing list