279aa8f685
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
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
|
|
}
|