Files
llvm-6502/test/MC/Hexagon/inst_sub64.ll
Colin LeMahieu 5bf7bcf6b3 [Hexagon] Adding add64 and sub64 instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222795 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-25 22:15:44 +00:00

11 lines
215 B
LLVM

;; 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