llvm-project/llvm/test/Analysis/CostModel
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
..
AArch64 [AArch64] Reduce vector insert/extract cost for Kryo 2016-02-18 18:35:45 +00:00
AMDGPU AMDGPU: Cost model for basic integer operations 2016-03-25 01:16:40 +00:00
ARM [ARM] Don't pessimize i32 vselect. 2015-11-17 17:25:15 +00:00
PowerPC [TTI] Let the cost model estimate ctpop costs based on legality 2016-03-31 10:42:40 +00:00
X86 Support arbitrary addrspace pointers in masked load/store intrinsics 2016-04-12 15:58:04 +00:00
no_info.ll Roll forward r243250 2015-07-26 19:10:03 +00:00