Akira Hatanaka | e13f441 | 2013-01-04 20:06:01 +0000 | [diff] [blame^] | 1 | ; RUN: llc -march=mipsel < %s |
| 2 | |
| 3 | @a = common global <4 x i32> zeroinitializer, align 16 |
| 4 | @b = common global <4 x i32> zeroinitializer, align 16 |
| 5 | @g0 = common global <4 x i32> zeroinitializer, align 16 |
| 6 | |
| 7 | define void @foo0() nounwind { |
| 8 | entry: |
| 9 | %0 = load <4 x i32>* @a, align 16 |
| 10 | %1 = load <4 x i32>* @b, align 16 |
| 11 | %cmp = icmp slt <4 x i32> %0, %1 |
| 12 | %sext = sext <4 x i1> %cmp to <4 x i32> |
| 13 | store <4 x i32> %sext, <4 x i32>* @g0, align 16 |
| 14 | ret void |
| 15 | } |
| 16 | |