source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/str_pre-2.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 351 bytes
Line 
1; RUN: llc < %s -mtriple=armv6-linux-gnu | 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}
Note: See TracBrowser for help on using the repository browser.