[flang] Lower exit intrinsic
authorValentin Clement <clementval@gmail.com>
Thu, 17 Mar 2022 12:16:53 +0000 (13:16 +0100)
committerValentin Clement <clementval@gmail.com>
Thu, 17 Mar 2022 12:18:32 +0000 (13:18 +0100)
commit4d323f4837846c63aef1421de0cd4bda3d1a197b
tree76d40d6b1443f8ada215a1de539691d7816bc480
parent6321113f783a1d8a6cc2494ae068174245b043c6
[flang] Lower exit intrinsic

This patch adds lowering for the `exit`
intrinsic.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D121882

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Josh Mottley <Josh.Mottley@arm.com>
flang/lib/Lower/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/exit.f90 [new file with mode: 0644]