llvm-project/llvm/test/Transforms/LoopVectorize/X86
Artur Pilipenko dbe0bc8df4 Support arbitrary addrspace pointers in masked load/store intrinsics
This is a resubmittion of 263158 change.

This patch fixes the problem which occurs when loop-vectorize tries to use @llvm.masked.load/store intrinsic for a non-default addrspace pointer. It fails with "Calling a function with a bad signature!" assertion in CallInst constructor because it tries to pass a non-default addrspace pointer to the pointer argument which has default addrspace.

The fix is to add pointer type as another overloaded type to @llvm.masked.load/store intrinsics.

Reviewed By: reames

Differential Revision: http://reviews.llvm.org/D17270

llvm-svn: 266086
2016-04-12 15:58:04 +00:00
..
already-vectorized.ll
assume.ll
avx1.ll [x86] fix cost model inaccuracy for vector memory ops 2016-03-09 22:23:33 +00:00
avx512.ll
constant-vector-operand.ll
conversion-cost.ll
cost-model.ll
fp32_to_uint32-cost-model.ll
fp64_to_uint32-cost-model.ll
fp_to_sint8-cost-model.ll
gather-cost.ll
gather_scatter.ll Create masked gather and scatter intrinsics in Loop Vectorizer. 2016-02-17 19:23:04 +00:00
gcc-examples.ll
illegal-parallel-loop-uniform-write.ll
lit.local.cfg
masked_load_store.ll Support arbitrary addrspace pointers in masked load/store intrinsics 2016-04-12 15:58:04 +00:00
metadata-enable.ll Roll forward r243250 2015-07-26 19:10:03 +00:00
min-trip-count-switch.ll
no-vector.ll
no_fpmath.ll [DebugInfo] Fix tests so that each subprogram belongs to a CU. 2016-04-05 23:37:08 +00:00
parallel-loops-after-reg2mem.ll
parallel-loops.ll
powof2div.ll Cleanup test whitespace or lack thereof. NFC. 2015-08-14 16:34:15 +00:00
ptr-indvar-crash.ll Correct a typo for a LoopVectorize test 2015-06-30 10:05:43 +00:00
rauw-bug.ll
reduction-crash.ll [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
register-assumption.ll [LoopVectorize] Register cloned assumptions 2016-04-08 16:37:10 +00:00
small-size.ll
struct-store.ll
tripcount.ll
uint64_to_fp64-cost-model.ll
uniform_load.ll Loop vectorization with uniform load 2016-04-10 16:53:19 +00:00
unroll-pm.ll
unroll-small-loops.ll
unroll_selection.ll
veclib-calls.ll [SLPVectorizer] Vectorizing the libm sqrt to llvm's sqrt intrinsic requires nnan 2016-04-06 07:04:53 +00:00
vect.omp.force.ll
vect.omp.force.small-tc.ll
vector-scalar-select-cost.ll
vector_max_bandwidth.ll Revert r255691 "[LoopVectorizer] Refine loop vectorizer's register usage calculator by ignoring specific instructions." 2016-02-19 21:40:12 +00:00
vector_ptr_load_store.ll Add a flag vectorizer-maximize-bandwidth in loop vectorizer to enable using larger vectorization factor. 2015-11-02 22:53:48 +00:00
vectorization-remarks-missed.ll Re-commit [SCEV] Introduce a guarded backedge taken count and use it in LAA and LV 2016-04-08 14:29:09 +00:00
vectorization-remarks-profitable.ll testcase gardening: update the emissionKind enum to the new syntax. (NFC) 2016-04-01 00:16:49 +00:00
vectorization-remarks.ll [DebugInfo/Test] Add CU as required. 2016-04-11 21:16:48 +00:00
vectorize-only-for-real.ll [LoopVectorize] Don't vectorize loops when everything will be scalarized 2016-03-30 19:37:08 +00:00
x86_fp80-vector-store.ll