• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Make sure this testcase does not use mulq
2; RUN: llc < %s -march=alpha | not grep -i mul
3
4define i64 @foo1(i64 %x) {
5entry:
6        %tmp.1 = mul i64 %x, 9          ; <i64> [#uses=1]
7        ret i64 %tmp.1
8}
9
10define i64 @foo3(i64 %x) {
11entry:
12        %tmp.1 = mul i64 %x, 259                ; <i64> [#uses=1]
13        ret i64 %tmp.1
14}
15
16define i64 @foo4l(i64 %x) {
17entry:
18        %tmp.1 = mul i64 %x, 260                ; <i64> [#uses=1]
19        ret i64 %tmp.1
20}
21
22define i64 @foo8l(i64 %x) {
23entry:
24        %tmp.1 = mul i64 %x, 768                ; <i64> [#uses=1]
25        ret i64 %tmp.1
26}
27
28define i64 @bar(i64 %x) {
29entry:
30        %tmp.1 = mul i64 %x, 5          ; <i64> [#uses=1]
31        ret i64 %tmp.1
32}
33
34