]> granicus.if.org Git - clang/commit
[X86] Add shift-by-immediate tests for non-immediate/out-of-range values
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 8 Jan 2019 12:59:15 +0000 (12:59 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 8 Jan 2019 12:59:15 +0000 (12:59 +0000)
commitddc3fb27d3231b95658f460a74ce24e9d645eac2
tree5134d71e90f8b0b0e0a4dd704405fecb5dbcdb53
parent1831e52ca5d0d56cb5b82e61e74dfc468797a27e
[X86] Add shift-by-immediate tests for non-immediate/out-of-range values

As noted on PR40203, for gcc compatibility we need to support non-immediate values in the 'slli/srli/srai' shift by immediate vector intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350619 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/avx2-builtins.c
test/CodeGen/avx512bw-builtins.c
test/CodeGen/avx512f-builtins.c
test/CodeGen/avx512vl-builtins.c
test/CodeGen/avx512vlbw-builtins.c
test/CodeGen/sse2-builtins.c