1; RUN: llc -o %t.bc -filetype=obj -mtriple=lanai %s 2; RUN: llvm-objdump -d -S %t.bc | FileCheck %s 3 4;; Ensure that Lanai can be compiled using llc and then objdumped to 5;; assembly. This is a smoke test to exercise the basics of the MC 6;; implementation in Lanai. 7 8; CHECK-LABEL: smoketest 9; CHECK: st %fp, [--%sp] 10define i32 @smoketest(i32 %x, i32 %y) { 11 %z = add i32 %x, %y 12 ret i32 %z 13} 14