Remove obsolete -f flags.
[oota-llvm.git] / test / CodeGen / PowerPC / addc.ll
1 ; All of these should be codegen'd without loading immediates
2 ; RUN: llvm-as < %s | llc -march=ppc32 -o %t
3 ; RUN: grep addc %t | count 1
4 ; RUN: grep adde %t | count 1
5 ; RUN: grep addze %t | count 1
6 ; RUN: grep addme %t | count 1
7 ; RUN: grep addic %t | count 2
8
9 define i64 @add_ll(i64 %a, i64 %b) {
10 entry:
11         %tmp.2 = add i64 %b, %a         ; <i64> [#uses=1]
12         ret i64 %tmp.2
13 }
14
15 define i64 @add_l_5(i64 %a) {
16 entry:
17         %tmp.1 = add i64 %a, 5          ; <i64> [#uses=1]
18         ret i64 %tmp.1
19 }
20
21 define i64 @add_l_m5(i64 %a) {
22 entry:
23         %tmp.1 = add i64 %a, -5         ; <i64> [#uses=1]
24         ret i64 %tmp.1
25 }
26