blob: 4d4819ab05d59948de21692af0fc4e103a4d1b4b [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -mtriple=i386-apple-darwin | grep mov | count 4
Evan Chengc3de8022008-06-16 22:52:53 +00002
3define i16 @test(i16* %tmp179) nounwind {
4 %tmp180 = load i16* %tmp179, align 2 ; <i16> [#uses=2]
5 %tmp184 = and i16 %tmp180, -1024 ; <i16> [#uses=1]
6 %tmp186 = icmp eq i16 %tmp184, -32768 ; <i1> [#uses=1]
7 br i1 %tmp186, label %bb189, label %bb288
8
9bb189: ; preds = %0
10 ret i16 %tmp180
11
12bb288: ; preds = %0
13 ret i16 32
14}