[flang-commits] [PATCH] D130590: Fix Issue #56706 (maskl(0), maskr(0) return -1 instead of 0)
Tarun Prabhu via Phabricator via flang-commits
flang-commits at lists.llvm.org
Tue Jul 26 11:14:04 PDT 2022
tarunprabhu created this revision.
tarunprabhu added reviewers: jeanPerier, PeteSteinfeld, klausler, vdonaldson.
tarunprabhu added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
tarunprabhu requested review of this revision.
Fix 56706 <https://github.com/llvm/llvm-project/issues/56706>.
Add an explicit condition for the BITS = 0 case.
https://reviews.llvm.org/D130590
Files:
flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/maskl.f90
flang/test/Lower/Intrinsics/maskr.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130590.447767.patch
Type: text/x-patch
Size: 9063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220726/9d81d78b/attachment-0001.bin>
More information about the flang-commits
mailing list