Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / X86 / i256-add.ll
1 ; RUN: llc < %s -march=x86 > %t
2 ; RUN: grep adcl %t | count 7
3 ; RUN: grep sbbl %t | count 7
4
5 define void @add(i256* %p, i256* %q) nounwind {
6   %a = load i256* %p
7   %b = load i256* %q
8   %c = add i256 %a, %b
9   store i256 %c, i256* %p
10   ret void
11 }
12 define void @sub(i256* %p, i256* %q) nounwind {
13   %a = load i256* %p
14   %b = load i256* %q
15   %c = sub i256 %a, %b
16   store i256 %c, i256* %p
17   ret void
18 }