]> granicus.if.org Git - llvm/commit
Merging r258537:
authorTom Stellard <thomas.stellard@amd.com>
Thu, 2 Jun 2016 04:32:15 +0000 (04:32 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 2 Jun 2016 04:32:15 +0000 (04:32 +0000)
commit15cca406644b1aa268a9f8918ce19066131a586b
treeaf8deb3d0801301b0a4f83e6074747e0054cd15f
parentc9e750a95740748958eefbb07a4664f6d4a04d98
Merging r258537:

------------------------------------------------------------------------
r258537 | Matthew.Arsenault | 2016-01-22 11:47:54 -0800 (Fri, 22 Jan 2016) | 6 lines

AMDGPU: Fix crash with invariant markers

The promote alloca pass didn't handle these intrinsics and crashed.
These intrinsics should accept any address space, but for now just
erase them to avoid breaking.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@271484 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/promote-alloca-invariant-markers.ll [new file with mode: 0644]