[TableGen] Fix validateOperandClass for non Phyical Reg (#118146)
[llvm-project.git] / compiler-rt / lib / builtins / avr / exit.S
blob3cd9c5dafdec0f7cedbd9621c60680aebc0caa04
1 //===------------ exit.S - global terminator for AVR ----------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9         .text
10         .align 2
12         .globl _exit
13         .type  _exit, @function
15 _exit:
16         cli                 ; Disable all interrupts.
17 __stop_program:
18         rjmp __stop_program ; Fall into an infinite loop.