diff options
author | Katherine Rasmussen <krasmussen@lbl.gov> | 2022-06-29 14:44:00 -0700 |
---|---|---|
committer | Katherine Rasmussen <krasmussen@lbl.gov> | 2022-07-11 10:54:12 -0700 |
commit | 9bb18a983f2f41dc0f933f1263678e66ee912fa8 (patch) | |
tree | fe1767fc7c88a0c6cf3ae6b29129bd311324e292 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 759e5e0096f650515799805828f9ac5b7d4a7303 (diff) | |
download | llvm-9bb18a983f2f41dc0f933f1263678e66ee912fa8.zip llvm-9bb18a983f2f41dc0f933f1263678e66ee912fa8.tar.gz llvm-9bb18a983f2f41dc0f933f1263678e66ee912fa8.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions