aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Feature/instructions.ll9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/Feature/instructions.ll b/test/Feature/instructions.ll
index 2edb1faba7..a65adead69 100644
--- a/test/Feature/instructions.ll
+++ b/test/Feature/instructions.ll
@@ -3,6 +3,11 @@
; RUN: diff %t1.ll %t2.ll
uint %test_extractelement(<4 x uint> %V) {
- %R = extractelement <4 x uint> %V, uint 1
- ret uint %R
+ %R = extractelement <4 x uint> %V, uint 1
+ ret uint %R
+}
+
+<4 x uint> %test_insertelement(<4 x uint> %V) {
+ %R = insertelement <4 x uint> %V, uint 0, uint 0
+ ret <4 x uint> %R
}