llvm-for-llvmta/test/MC/Hexagon/inst_add64.ll

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 = add i64 %a, %b
ret i64 %1
}
; CHECK: 0000 e04200d3 00c09f52