llvm-project/llvm/include
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
..
llvm Support arbitrary addrspace pointers in masked load/store intrinsics 2016-03-10 20:39:22 +00:00
llvm-c Use lto_bool_t instead of a raw `bool` (fixup for r262977). 2016-03-09 04:05:28 +00:00