/* Description of target passes for PRU.
   Copyright (C) 2024 Free Software Foundation, Inc.  */

/* This file is part of GCC.

   GCC is free software; you can redistribute it and/or modify it under
   the terms of the GNU General Public License as published by the Free
   Software Foundation; either version 3, or (at your option) any later
   version.

   GCC is distributed in the hope that it will be useful, but WITHOUT ANY
   WARRANTY; without even the implied warranty of MERCHANTABILITY or
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
   for more details.

   You should have received a copy of the GNU General Public License
   along with GCC; see the file COPYING3.  If not see
   <http://www.gnu.org/licenses/>.  */

/* If strict TI ABI conformance is requested, then this pass would validate
   that the compiled code by GCC conforms to the TI ABI specification.
   If GCC cannot output a conforming code, then an error is raised.  */

INSERT_PASS_AFTER (pass_warn_unused_result, 1, pru_tiabi_check);

/* If -minrt option is used, then this pass would validate
   that the compiled code by GCC is compatible with the minimal
   C runtime.  */
INSERT_PASS_AFTER (pass_warn_function_noreturn, 1, pru_minrt_check);
