sext(undef) = 0, because the top bits will all be the same.
[oota-llvm.git] / test / CodeGen / Alpha / 2010-08-01-mulreduce64.ll
1 ; RUN: llc < %s -march=alpha | FileCheck %s
2
3 define fastcc i64 @getcount(i64 %s) {
4         %tmp431 = mul i64 %s, 12884901888
5         ret i64 %tmp431
6 }
7
8 ; CHECK: sll $16,33,$0
9 ; CHECK-NEXT: sll $16,32,$1
10 ; CHECK-NEXT: addq $0,$1,$0
11