When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / Transforms / InstCombine / 2008-02-23-MulSub.ll
blobbb21c4b034176bbb568fb267f7e45ca6d6f93986
1 ; RUN: opt < %s -instcombine -S | not grep mul
3 define i26 @test(i26 %a) nounwind  {
4 entry:
5         %_add = mul i26 %a, 2885                ; <i26> [#uses=1]
6         %_shl2 = mul i26 %a, 2884               ; <i26> [#uses=1]
7         %_sub = sub i26 %_add, %_shl2           ; <i26> [#uses=1]
8         ret i26 %_sub