blob: 06072a564f67baaa6b20f46aa1cf2c35e72ebc18 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -mtriple=armv6-apple-darwin | grep ldrd
2; RUN: llc < %s -mtriple=armv5-apple-darwin | not grep ldrd
3; RUN: llc < %s -mtriple=armv6-eabi | not grep ldrd
Evan Cheng358dec52009-06-15 08:28:29 +00004; rdar://r6949835
5
6@b = external global i64*
7
8define i64 @t(i64 %a) nounwind readonly {
9entry:
10 %0 = load i64** @b, align 4
11 %1 = load i64* %0, align 4
12 %2 = mul i64 %1, %a
13 ret i64 %2
14}