blob: 58f3bc9f3f099484a2f2910a71b1732656c14f84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; This test makes sure that mul instructions are properly eliminated.
; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0.
;
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul
implementation
define i17 @test1(i17 %X) {
%Y = mul i17 %X, 1024
ret i17 %Y
}
|