diff options
author | Artur Pilipenko <apilipenko@azulsystems.com> | 2016-06-28 18:27:25 +0000 |
---|---|---|
committer | Artur Pilipenko <apilipenko@azulsystems.com> | 2016-06-28 18:27:25 +0000 |
commit | 7ad95ec22d17573d5a1c2edcd47b6510fdc65e18 (patch) | |
tree | f674828205e3f48cbbde2f1157c3042a3d055a1c /lldb/packages/Python/lldbsuite/test/expression_command/call-function | |
parent | f43266b86850ac0b2505d02b6565ee65d3eaf513 (diff) | |
download | bcm5719-llvm-7ad95ec22d17573d5a1c2edcd47b6510fdc65e18.tar.gz bcm5719-llvm-7ad95ec22d17573d5a1c2edcd47b6510fdc65e18.zip |
Support arbitrary addrspace pointers in masked load/store intrinsics
This is a resubmittion of 263158 change after fixing the existing problem with intrinsics mangling (see LTO and intrinsics mangling llvm-dev thread for details).
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: 274043
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions