summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/target-cpu.ll
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@gmail.com>2018-02-16 19:14:17 +0000
committerChangpeng Fang <changpeng.fang@gmail.com>2018-02-16 19:14:17 +0000
commitba92059ca9ffce8b9eb0c496638dec62a2975ae3 (patch)
treebe5aa3f78ccd20b9c83540759a15c38f0bbef97b /llvm/test/CodeGen/AMDGPU/target-cpu.ll
parentde565fc73e9047a3044e8680c88aa6a3530a16e6 (diff)
downloadbcm5719-llvm-ba92059ca9ffce8b9eb0c496638dec62a2975ae3.tar.gz
bcm5719-llvm-ba92059ca9ffce8b9eb0c496638dec62a2975ae3.zip
AMDGPU/SI: Extend promoting alloca to vector to arrays of up to 16 elements
Summary: This patch extends the promotion of alloca to vector to the arrays of up to 16 elements. Also we introduce an option, -disable-promote-alloca-to-vector, to switch promotion to vector off, if needed. Reviewers: arsenm Differential Revision: https://reviews.llvm.org/D33559 llvm-svn: 325372
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/target-cpu.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/target-cpu.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/target-cpu.ll b/llvm/test/CodeGen/AMDGPU/target-cpu.ll
index bf1525e6163..cc4c98bb678 100644
--- a/llvm/test/CodeGen/AMDGPU/target-cpu.ll
+++ b/llvm/test/CodeGen/AMDGPU/target-cpu.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck %s
+; RUN: llc -march=amdgcn -disable-promote-alloca-to-vector -verify-machineinstrs < %s | FileCheck %s
declare i8 addrspace(4)* @llvm.amdgcn.kernarg.segment.ptr() #1
OpenPOWER on IntegriCloud