Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / Mips / inlineasm64.ll
1 ; RUN: llc -march=mips64el -mcpu=mips64r2 -mattr=n64 < %s | FileCheck %s
2
3 @gl2 = external global i64
4 @gl1 = external global i64
5 @gl0 = external global i64
6
7 define void @foo1() nounwind {
8 entry:
9 ; CHECK: foo1
10 ; CHECK: daddu
11   %0 = load i64* @gl1, align 8
12   %1 = load i64* @gl0, align 8
13   %2 = tail call i64 asm "daddu $0, $1, $2", "=r,r,r"(i64 %0, i64 %1) nounwind
14   store i64 %2, i64* @gl2, align 8
15   ret void
16 }
17