[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
Loading
Please sign in to comment