Intrinsics: fix extract & insert when index is out of bound.
authorManman Ren <manman.ren@gmail.com>
Wed, 23 Oct 2013 20:33:14 +0000 (20:33 +0000)
committerManman Ren <manman.ren@gmail.com>
Wed, 23 Oct 2013 20:33:14 +0000 (20:33 +0000)
commitc94122e05bf086f3630ec8d3a4b319df8a31ff4d
tree4a6f49b280cd04ba1beba8e34768668b2e5224e6
parent1e6d8ac59b107fa6212a32a60639d91428b6a75b
Intrinsics: fix extract & insert when index is out of bound.

Now, all extract & insert intrinsics should have the correct and operation
to ignore higher bits.

rdar://15250497

llvm-svn: 193267
clang/lib/Headers/avxintrin.h
clang/lib/Headers/smmintrin.h
clang/test/CodeGen/avx-builtins.c
clang/test/CodeGen/sse-builtins.c