aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/inst_sub64.ll
blob: 99f102dca593fd924876393f636763fa97fecdee (plain) (blame)
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 i64 @foo (i64 %a, i64 %b)
{
  %1 = sub i64 %a, %b
  ret i64 %1
}

; CHECK:  0000 e04022d3 00c09f52