projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
449b3f0
)
[AVX512] Fix test to produce a defined value
author
Adam Nemet
<anemet@apple.com>
Wed, 15 Oct 2014 23:42:11 +0000
(23:42 +0000)
committer
Adam Nemet
<anemet@apple.com>
Wed, 15 Oct 2014 23:42:11 +0000
(23:42 +0000)
We're inserting into a 8 wide vector, so the index should be < 8.
llvm-svn: 219872
llvm/test/CodeGen/X86/avx512-insert-extract.ll
patch
|
blob
|
history
diff --git
a/llvm/test/CodeGen/X86/avx512-insert-extract.ll
b/llvm/test/CodeGen/X86/avx512-insert-extract.ll
index
5447f1c
..
2aff7c7
100644
(file)
--- a/
llvm/test/CodeGen/X86/avx512-insert-extract.ll
+++ b/
llvm/test/CodeGen/X86/avx512-insert-extract.ll
@@
-191,7
+191,7
@@
define i16 @test16(i1 *%addr, i16 %a) {
define i8 @test17(i1 *%addr, i8 %a) {
%x = load i1 * %addr, align 128
%a1 = bitcast i8 %a to <8 x i1>
- %x1 = insertelement <8 x i1> %a1, i1 %x, i32
10
+ %x1 = insertelement <8 x i1> %a1, i1 %x, i32
4
%x2 = bitcast <8 x i1>%x1 to i8
ret i8 %x2
}