• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=armv6-linux-gnu -target-abi=apcs | FileCheck %s
2
3@b = external global i64*
4
5define i64 @t(i64 %a) nounwind readonly {
6entry:
7; CHECK: push {r4, r5, lr}
8; CHECK: pop {r4, r5, pc}
9        call void asm sideeffect "", "~{r4},~{r5}"() nounwind
10	%0 = load i64*, i64** @b, align 4
11	%1 = load i64, i64* %0, align 4
12	%2 = mul i64 %1, %a
13	ret i64 %2
14}
15