[all-commits] [llvm/llvm-project] 1f9212: [flang] Support extention intrinsic ABORT

PeixinQiao via All-commits all-commits at lists.llvm.org
Tue Aug 2 08:04:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f9212d8d53aae8b3d727d9967d68ab177a4ce0c
      https://github.com/llvm/llvm-project/commit/1f9212d8d53aae8b3d727d9967d68ab177a4ce0c
  Author: Peixin Qiao <qiaopeixin at huawei.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Stop.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Stop.cpp
    M flang/runtime/stop.cpp
    A flang/test/Lower/Intrinsics/abort.f90

  Log Message:
  -----------
  [flang] Support extention intrinsic ABORT

The semantic checks and runtime have been supported. This supports the
lowering of intrinsic ABORT.

`gfortran` prints a backtrace before abort, unless `-fno-backtrace` is
given. This is good to use. The intrinsic BACKTRACE is not supported
yet, so add TODO in the runtime.

This extention is needed in SPEC2017 521.wrf_r in
https://github.com/llvm/llvm-project/issues/55955.

Reviewed By: klausler

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




More information about the All-commits mailing list