OLD | NEW |
1 target triple = "i686-pc-linux-gnu" | |
2 | |
3 define <4 x float> @insertelement_v4f32(<4 x float> %vec, float %elt, i32 %idx)
{ | 1 define <4 x float> @insertelement_v4f32(<4 x float> %vec, float %elt, i32 %idx)
{ |
4 switch i32 %idx, label %abort [ | 2 switch i32 %idx, label %abort [ |
5 i32 0, label %idx0 | 3 i32 0, label %idx0 |
6 i32 1, label %idx1 | 4 i32 1, label %idx1 |
7 i32 2, label %idx2 | 5 i32 2, label %idx2 |
8 i32 3, label %idx3 | 6 i32 3, label %idx3 |
9 ] | 7 ] |
10 idx0: | 8 idx0: |
11 %res0 = insertelement <4 x float> %vec, float %elt, i32 0 | 9 %res0 = insertelement <4 x float> %vec, float %elt, i32 0 |
12 ret <4 x float> %res0 | 10 ret <4 x float> %res0 |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 ret i64 %res15 | 706 ret i64 %res15 |
709 abort: | 707 abort: |
710 unreachable | 708 unreachable |
711 } | 709 } |
712 | 710 |
713 define i64 @extractelement_v16ui8(<16 x i8> %vec, i32 %idx) { | 711 define i64 @extractelement_v16ui8(<16 x i8> %vec, i32 %idx) { |
714 entry: | 712 entry: |
715 %res = call i64 @extractelement_v16si8(<16 x i8> %vec, i32 %idx) | 713 %res = call i64 @extractelement_v16si8(<16 x i8> %vec, i32 %idx) |
716 ret i64 %res | 714 ret i64 %res |
717 } | 715 } |
OLD | NEW |