Fix 56706.
Add an explicit condition for the BITS = 0 case.
Paths
| Differential D130590
Fix Issue #56706 (maskl(0), maskr(0) return -1 instead of 0) ClosedPublic Authored by tarunprabhu on Jul 26 2022, 11:14 AM.
Details
Diff Detail
Event TimelineComment Actions
This is probably a better commit title. I would put your title as description. Comment Actions I agree with clementval's comment about the commit title (should also have [flang]), otherwise LGTM, thanks for fixing the bug ! Closed by commit rGc1f65df19c0f: [flang] Add an explicit condition for the BITS=0 case in the MASKL and MASKR… (authored by tarunprabhu). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions Oh, I'm sorry. I should have asked for acceptance before committing. There were no comments on this for some time and the other comments suggested that it was fine. I made the change to flip the title and the commit message in the actual commit. My apologies again. Should I revert that commit? Comment Actions Looks ok. You don't need to revert. Next time wait for a formal acceptance or a "LGTM". No comment does not mean approved. Personally I did not go through the whole patch when I sent the previous comment. Comment Actions Noted. In my defense, there was a LGTM from @jeanPerier.
But I'll wait for a formal acceptance so there's no confusion. Comment Actions
My bad I did not notice it.
Revision Contents
Diff 450847 flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/maskl.f90
flang/test/Lower/Intrinsics/maskr.f90
|