blob: edcce3409c279bda49dcb7580aefdeb4965e9d9f [file] [log] [blame]
Dylan McKay0d4778f2016-11-09 23:46:52 +00001; RUN: llc < %s -march=avr | FileCheck %s
2
3define i8 @neg8(i8 %x) {
4; CHECK-LABEL: neg8:
5; CHECK: neg r24
6 %sub = sub i8 0, %x
7 ret i8 %sub
8}