[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)
commitb12738d932cb4113e72af1719ae63025b14c35dc
tree200f84ff4242ca7f73fc21934abfdb90463a0ce0
parenta480523ce90651af0998e8a17d3fd7d0147a9e38
[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.

llvm-svn: 350619
clang/test/CodeGen/avx2-builtins.c
clang/test/CodeGen/avx512bw-builtins.c
clang/test/CodeGen/avx512f-builtins.c
clang/test/CodeGen/avx512vl-builtins.c
clang/test/CodeGen/avx512vlbw-builtins.c
clang/test/CodeGen/sse2-builtins.c