aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PTX/stack-object.ll
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2012-05-24 21:38:21 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2012-05-24 21:38:21 +0000
commit42a0b48dd3773574f648c19b4d9abafb6b4a4f16 (patch)
treed9a4399f281c81c89d9a5118795d64fb1d4893f9 /test/CodeGen/PTX/stack-object.ll
parent6b31d4ea3610b04d71e1eb38d8fc625eae7b759a (diff)
downloadexternal_llvm-42a0b48dd3773574f648c19b4d9abafb6b4a4f16.zip
external_llvm-42a0b48dd3773574f648c19b4d9abafb6b4a4f16.tar.gz
external_llvm-42a0b48dd3773574f648c19b4d9abafb6b4a4f16.tar.bz2
Remove the PTX back-end and all of its artifacts (triple, etc.)
This back-end was deprecated in favor of the NVPTX back-end. NV_CONTRIB git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157417 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PTX/stack-object.ll')
-rw-r--r--test/CodeGen/PTX/stack-object.ll19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/PTX/stack-object.ll b/test/CodeGen/PTX/stack-object.ll
deleted file mode 100644
index 65f8ee2..0000000
--- a/test/CodeGen/PTX/stack-object.ll
+++ /dev/null
@@ -1,19 +0,0 @@
-; RUN: llc < %s -march=ptx32 -mattr=sm20 | FileCheck %s
-
-define ptx_device float @stack1(float %a) {
- ; CHECK: .local .align 4 .b8 __local0[4];
- %a.2 = alloca float, align 4
- ; CHECK: st.local.f32 [__local0], %f0
- store float %a, float* %a.2
- %a.3 = load float* %a.2
- ret float %a.3
-}
-
-define ptx_device float @stack1_align8(float %a) {
- ; CHECK: .local .align 8 .b8 __local0[4];
- %a.2 = alloca float, align 8
- ; CHECK: st.local.f32 [__local0], %f0
- store float %a, float* %a.2
- %a.3 = load float* %a.2
- ret float %a.3
-}