diff options
| author | Changpeng Fang <changpeng.fang@gmail.com> | 2018-02-16 19:14:17 +0000 |
|---|---|---|
| committer | Changpeng Fang <changpeng.fang@gmail.com> | 2018-02-16 19:14:17 +0000 |
| commit | ba92059ca9ffce8b9eb0c496638dec62a2975ae3 (patch) | |
| tree | be5aa3f78ccd20b9c83540759a15c38f0bbef97b /llvm/test/CodeGen/AMDGPU/target-cpu.ll | |
| parent | de565fc73e9047a3044e8680c88aa6a3530a16e6 (diff) | |
| download | bcm5719-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.ll | 2 |
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 |

