aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/pr17546.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fix PR17546Michael Liao2013-10-151-0/+10
- Type of index used in extract_vector_elt or insert_vector_elt supposes to be TLI.getVectorIdxTy() which is pointer type on most targets. It'd better to truncate (or zero-extend in case it's changed later) it to mask element type to guarantee they are matching instead of asserting that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192722 91177308-0d34-0410-b5e6-96231b3b80d8