[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.git] / test / CodeGen / MSP430 / 2009-10-10-OrImpDef.ll
1 ; RUN: llc -march=msp430 < %s
2 ; PR4779 
3 define void @foo() nounwind {
4 entry:
5         %r = alloca i8          ; <i8*> [#uses=2]
6         %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
7         load volatile i8, i8* %r, align 1               ; <i8>:0 [#uses=1]
8         or i8 %0, 1             ; <i8>:1 [#uses=1]
9         store volatile i8 %1, i8* %r, align 1
10         br label %return
11
12 return:         ; preds = %entry
13         ret void
14 }