Debian Codegraph @

llvm/test/CodeGen/Thumb2/thumb2-neg.ll

raw
1 ; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
2
3 define i32 @f1(i32 %a) {
4 ; CHECK-LABEL: f1:
5 ; CHECK: rsbs r0, r0, #0
6 %tmp = sub i32 0, %a
7 ret i32 %tmp
8 }