[flang-commits] [PATCH] D129316: Shift intrinsics

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Jul 13 07:40:50 PDT 2022


tarunprabhu updated this revision to Diff 444257.
tarunprabhu added a comment.

Added a comment explaining why SHIFT < 0 or SHIFT >= BIT_SIZE(I) returns 0.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129316/new/

https://reviews.llvm.org/D129316

Files:
  flang/lib/Lower/IntrinsicCall.cpp
  flang/test/Lower/Intrinsics/dshiftl.f90
  flang/test/Lower/Intrinsics/dshiftr.f90
  flang/test/Lower/Intrinsics/shifta.f90
  flang/test/Lower/Intrinsics/shiftl.f90
  flang/test/Lower/Intrinsics/shiftr.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129316.444257.patch
Type: text/x-patch
Size: 37408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220713/6b414ceb/attachment-0001.bin>


More information about the flang-commits mailing list