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