Go to file
Anna Thomas 29b24dfe44 Invariant start/end intrinsics overloaded for address space
Summary:
The llvm.invariant.start and llvm.invariant.end intrinsics currently
support specifying invariant memory objects only in the default address space.

With this change, these intrinsics are overloaded for any adddress space for memory objects
and we can use these llvm invariant intrinsics in non-default address spaces.

Example: llvm.invariant.start.p1i8(i64 4, i8 addrspace(1)* %ptr)

This overloaded intrinsic is needed for representing final or invariant memory in managed languages.

Reviewers: tstellarAMD, reames, apilipenko

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D22519

llvm-svn: 276316
2016-07-21 18:41:44 +00:00
clang Move some IntrusiveRefCntPtrs instead of copying. 2016-07-21 15:06:51 +00:00
clang-tools-extra [clang-tidy] Avoid duplicated DenseMap lookup. 2016-07-21 14:13:45 +00:00
compiler-rt Fix clang-cl warning and crash in sanitizers 2016-07-21 18:31:01 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc amdgpu: Use right builtn for rsq 2016-07-19 19:02:01 +00:00
libcxx Remove FIXME for feature test macro 2016-07-21 17:34:28 +00:00
libcxxabi Attempt to bring peace to -Werror buildbots. 2016-07-19 20:35:09 +00:00
libunwind [libunwind] Properly align _Unwind_Exception. 2016-07-20 23:56:42 +00:00
lld Fix MSVC 2015 compilation failure around range-for without curly braces 2016-07-21 18:39:28 +00:00
lldb Add check for non-null log instance in PlatformAndroid. 2016-07-21 17:03:25 +00:00
llgo Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
llvm Invariant start/end intrinsics overloaded for address space 2016-07-21 18:41:44 +00:00
openmp http://reviews.llvm.org/D22134: Implementation of OpenMP 4.5 nonmonotonic schedule modifier 2016-07-11 10:44:57 +00:00
parallel-libs Add .clang-format to parallel-libs 2016-07-20 17:49:55 +00:00
polly GPGPU: generate code for ScopStatements 2016-07-21 13:15:59 +00:00