CodeGen: Let byval parameter use alloca address space
authorYaxun Liu <Yaxun.Liu@amd.com>
Mon, 17 Apr 2017 20:10:44 +0000 (20:10 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Mon, 17 Apr 2017 20:10:44 +0000 (20:10 +0000)
commitd7523283a7198d0e919f8ada0eeadddef3ccbaaa
treed355616dd0c86ad1e2a8b81e6097d8a63a8215d3
parentef700d550e7349c94081c1dc93eac6a5be2fc1f5
CodeGen: Let byval parameter use alloca address space

Differential Revision: https://reviews.llvm.org/D32133

llvm-svn: 300487
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGenOpenCL/byval.cl [new file with mode: 0644]