OSDN Git Service

Add address space mangling to lifetime intrinsics
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 10 Apr 2017 20:18:21 +0000 (20:18 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 10 Apr 2017 20:18:21 +0000 (20:18 +0000)
commitbdbe8280f25339054c5314e87e4ddfa844c71014
tree46125a2d1740e7c041ad98f47ba7a6954f35b73d
parenta8b5a980c8179a1495423f56d8add29ee0112d21
Add address space mangling to lifetime intrinsics

In preparation for allowing allocas to have non-0 addrspace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299876 91177308-0d34-0410-b5e6-96231b3b80d8
117 files changed:
include/llvm/IR/Intrinsics.td
lib/IR/AutoUpgrade.cpp
lib/IR/IRBuilder.cpp
test/Analysis/BasicAA/modref.ll
test/Analysis/LazyValueAnalysis/invalidation.ll
test/Assembler/auto_upgrade_intrinsics.ll
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/stack_guard_remat.ll
test/CodeGen/AMDGPU/captured-frame-index.ll
test/CodeGen/AMDGPU/promote-alloca-lifetime.ll
test/CodeGen/ARM/interval-update-remat.ll
test/CodeGen/ARM/ldrd.ll
test/CodeGen/ARM/stack_guard_remat.ll
test/CodeGen/BPF/warn-stack.ll
test/CodeGen/Hexagon/bit-rie.ll
test/CodeGen/Hexagon/hwloop-loop1.ll
test/CodeGen/Hexagon/memops-stack.ll
test/CodeGen/Hexagon/opt-spill-volatile.ll
test/CodeGen/Hexagon/rdf-copy-undef2.ll
test/CodeGen/Hexagon/rdf-inline-asm-fixed.ll
test/CodeGen/Hexagon/rdf-phi-up.ll
test/CodeGen/Hexagon/runtime-stkchk.ll
test/CodeGen/Mips/stackcoloring.ll
test/CodeGen/Mips/stchar.ll
test/CodeGen/NVPTX/bug22322.ll
test/CodeGen/PowerPC/BreakableToken-reduced.ll
test/CodeGen/PowerPC/addi-licm.ll
test/CodeGen/PowerPC/ctrloop-intrin.ll
test/CodeGen/PowerPC/lsa.ll
test/CodeGen/PowerPC/pr30451.ll
test/CodeGen/PowerPC/swaps-le-4.ll
test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll
test/CodeGen/PowerPC/toc-load-sched-bug.ll
test/CodeGen/SystemZ/stack-guard.ll
test/CodeGen/Thumb/PR17309.ll
test/CodeGen/Thumb/stack-coloring-without-frame-ptr.ll
test/CodeGen/Thumb/stack_guard_remat.ll
test/CodeGen/Thumb2/ifcvt-rescan-bug-2016-08-22.ll
test/CodeGen/Thumb2/stack_guard_remat.ll
test/CodeGen/X86/StackColoring-dbg.ll
test/CodeGen/X86/StackColoring.ll
test/CodeGen/X86/avx-vbroadcast.ll
test/CodeGen/X86/catchpad-lifetime.ll
test/CodeGen/X86/catchpad-weight.ll
test/CodeGen/X86/crash.ll
test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
test/CodeGen/X86/dynamic-alloca-lifetime.ll
test/CodeGen/X86/fast-isel-deadcode.ll
test/CodeGen/X86/fast-isel.ll
test/CodeGen/X86/load-slice.ll
test/CodeGen/X86/local_stack_symbol_ordering.ll
test/CodeGen/X86/machine-trace-metrics-crash.ll
test/CodeGen/X86/misched-aa-colored.ll
test/CodeGen/X86/stack-align.ll
test/CodeGen/X86/stack-protector-weight.ll
test/CodeGen/X86/stack_guard_remat.ll
test/CodeGen/X86/unused_stackslots.ll
test/CodeGen/X86/unwindraise.ll
test/CodeGen/X86/x32-va_start.ll
test/Instrumentation/AddressSanitizer/lifetime-throw.ll
test/Instrumentation/AddressSanitizer/lifetime-uar-uas.ll
test/Instrumentation/AddressSanitizer/lifetime.ll
test/Instrumentation/AddressSanitizer/stack-poisoning-and-lifetime-be.ll
test/Instrumentation/AddressSanitizer/stack-poisoning-and-lifetime.ll
test/Instrumentation/AddressSanitizer/stack_layout.ll
test/Instrumentation/MemorySanitizer/AArch64/vararg.ll
test/Instrumentation/MemorySanitizer/Mips/vararg-mips64.ll
test/Instrumentation/MemorySanitizer/Mips/vararg-mips64el.ll
test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64.ll
test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64le.ll
test/Transforms/AddDiscriminators/call.ll
test/Transforms/AtomicExpand/SPARC/libcalls.ll
test/Transforms/BBVectorize/X86/wr-aliases.ll
test/Transforms/CodeGenPrepare/builtin-condition.ll
test/Transforms/Coroutines/coro-split-dbg.ll
test/Transforms/CorrelatedValuePropagation/alloca.ll
test/Transforms/DeadStoreElimination/dominate.ll
test/Transforms/DeadStoreElimination/lifetime.ll
test/Transforms/GVN/cond_br2.ll
test/Transforms/GVN/lifetime-simple.ll
test/Transforms/GVNHoist/pr29034.ll
test/Transforms/IndVarSimplify/exit_value_test2.ll
test/Transforms/Inline/alloca-bonus.ll
test/Transforms/Inline/crash-lifetime-marker.ll
test/Transforms/Inline/lifetime-no-datalayout.ll
test/Transforms/Inline/lifetime.ll
test/Transforms/InstCombine/builtin-object-size-offset.ll
test/Transforms/InstCombine/builtin-object-size-ptr.ll
test/Transforms/InstCombine/compare-alloca.ll
test/Transforms/InstCombine/deadcode.ll
test/Transforms/InstCombine/lifetime-asan.ll
test/Transforms/InstCombine/lifetime.ll
test/Transforms/InstCombine/malloc-free-delete.ll
test/Transforms/InstCombine/memcpy-from-global.ll
test/Transforms/InstCombine/vararg.ll
test/Transforms/LoopVectorize/lifetime.ll
test/Transforms/Mem2Reg/ignore-lifetime.ll
test/Transforms/MemCpyOpt/lifetime.ll
test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll
test/Transforms/MemCpyOpt/memcpy-undef.ll
test/Transforms/MemCpyOpt/pr29105.ll
test/Transforms/NewGVN/cond_br2.ll
test/Transforms/NewGVN/lifetime-simple.ll
test/Transforms/SROA/basictest.ll
test/Transforms/SROA/pr26972.ll
test/Transforms/SROA/vector-lifetime-intrinsic.ll
test/Transforms/SafeStack/X86/call.ll
test/Transforms/SafeStack/X86/coloring-ssp.ll
test/Transforms/SafeStack/X86/coloring.ll
test/Transforms/SafeStack/X86/coloring2.ll
test/Transforms/SafeStack/X86/debug-loc2.ll
test/Transforms/SafeStack/X86/layout-frag.ll
test/Transforms/SampleProfile/remarks.ll
test/Transforms/SimplifyCFG/critedge-assume.ll
test/Transforms/SimplifyCFG/empty-cleanuppad.ll
test/Transforms/SimplifyCFG/lifetime.ll
test/Transforms/Util/MemorySSA/lifetime-simple.ll