[flang-commits] [PATCH] D145092: [flang] Fix ISHFTC argument value check

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Mar 1 11:13:33 PST 2023


klausler created this revision.
klausler added a reviewer: vzakhari.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

The code that visits all pairs of constant SHIFT= and SIZE= arguments                                                                   
in an array-valued call to the ISHFTC intrinsic function had a bad loop                                                                 
test that affected the case where one of these arguments was scalar and                                                                 
the other was not.  Fix it, and add tests.


https://reviews.llvm.org/D145092

Files:
  flang/lib/Evaluate/fold-integer.cpp
  flang/test/Semantics/ishftc.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145092.501595.patch
Type: text/x-patch
Size: 6725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230301/4c79c68d/attachment-0001.bin>


More information about the flang-commits mailing list