diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-04-28 18:38:48 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-04-28 18:38:48 +0000 |
commit | c5fce690316703b619c05e875c51a04b0ea0d547 (patch) | |
tree | 8c9936b0705d20760b32b9be63b93bfc2ce131c1 /clang/lib/Basic/SourceManager.cpp | |
parent | f918b004907cdd3e04d8bd487ca6487dc1c0e37b (diff) | |
download | llvm-c5fce690316703b619c05e875c51a04b0ea0d547.zip llvm-c5fce690316703b619c05e875c51a04b0ea0d547.tar.gz llvm-c5fce690316703b619c05e875c51a04b0ea0d547.tar.bz2 |
AMDGPU: Fix mishandling array allocations when promoting alloca
The canonical form for allocas is a single allocation of the array type.
In case we see a non-canonical array alloca, make sure we aren't
replacing this with an array N times smaller.
llvm-svn: 267916
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions