blob: 102b57431fa53ffcd70369ca576102374ff066a6 [file] [log] [blame]
Chris Lattnerc79260a2002-05-10 15:14:54 +00001; This testcase should have the cast propogated through the load
2; just like a store does...
3;
Reid Spencer3da59db2006-11-27 01:05:10 +00004; RUN: llvm-as < %s | opt -raise | llvm-dis | not grep 'bitcast uint \*'
Chris Lattnerc79260a2002-05-10 15:14:54 +00005
6int "test"(uint * %Ptr) {
7 %P2 = cast uint *%Ptr to int *
8 %Val = load int * %P2
9 ret int %Val
10}