aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Hexagon/inst_sub.ll
blob: 7523aa6a5a6a7fee27871b258e18be55797ff9a7 (plain)
1
2
3
4
5
6
7
8
9
10
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
;; RUN: | llvm-objdump -s - | FileCheck %s

define i32 @foo (i32 %a, i32 %b)
{
  %1 = sub i32 %a, %b
  ret i32 %1
}

; CHECK:  0000 004021f3 00c09f52