diff options
author | Artem Belevich <tra@google.com> | 2016-07-20 18:39:47 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2016-07-20 18:39:47 +0000 |
commit | b2e76a5e7acc125a730676e59f0495e1bf225104 (patch) | |
tree | 46dd89f7405426a1d952db2a64df6096ea4e8707 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 3b24b808a751fdc8fb0cc6dbd324b54e18ae10d5 (diff) | |
download | llvm-b2e76a5e7acc125a730676e59f0495e1bf225104.zip llvm-b2e76a5e7acc125a730676e59f0495e1bf225104.tar.gz llvm-b2e76a5e7acc125a730676e59f0495e1bf225104.tar.bz2 |
[NVPTX] Improve lowering of byval args of device functions.
Avoid unnecessary spills of byval arguments of device functions to
local space on SASS level and subsequent pointer conversion to generic
address space that follows. Instead, make a local copy in IR, provide
a way to access arguments directly, and let LLVM optimize the copy away
when possible.
Differential Review: https://reviews.llvm.org/D21421
llvm-svn: 276153
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions