mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-11 07:15:26 +00:00
9 lines
144 B
LLVM
9 lines
144 B
LLVM
![]() |
; RUN: llc < %s -march=avr | FileCheck %s
|
||
|
|
||
|
define i8 @neg8(i8 %x) {
|
||
|
; CHECK-LABEL: neg8:
|
||
|
; CHECK: neg r24
|
||
|
%sub = sub i8 0, %x
|
||
|
ret i8 %sub
|
||
|
}
|