llvm-project/llvm/test/Analysis/CostModel
Artur Pilipenko 3c8fc57e16 Support arbitrary addrspace pointers in masked load/store intrinsics
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: 263158
2016-03-10 20:39:22 +00:00
..
AArch64 [AArch64] Reduce vector insert/extract cost for Kryo 2016-02-18 18:35:45 +00:00
AMDGPU AMDGPU: Override getCFInstrCost 2015-12-16 18:37:19 +00:00
ARM [ARM] Don't pessimize i32 vselect. 2015-11-17 17:25:15 +00:00
PowerPC [PowerPC] Include the permutation cost for unaligned vector loads 2015-09-03 21:23:18 +00:00
X86 Support arbitrary addrspace pointers in masked load/store intrinsics 2016-03-10 20:39:22 +00:00
no_info.ll Roll forward r243250 2015-07-26 19:10:03 +00:00