Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; this should not crash the ppc backend | |
2 | |
3 ; RUN: llc < %s -march=ppc32 | |
4 | |
5 | |
6 define i32 @test(i32 %j.0.0.i) { | |
7 %tmp.85.i = and i32 %j.0.0.i, 7 ; <i32> [#uses=1] | |
8 %tmp.161278.i = bitcast i32 %tmp.85.i to i32 ; <i32> [#uses=1] | |
9 %tmp.5.i77.i = lshr i32 %tmp.161278.i, 3 ; <i32> [#uses=1] | |
10 ret i32 %tmp.5.i77.i | |
11 } | |
12 | |
13 |