fix sanitizer-ppc64be-linux failure for r262804
authorValery Pykhtin <Valery.Pykhtin@amd.com>
Sun, 6 Mar 2016 15:13:54 +0000 (15:13 +0000)
committerValery Pykhtin <Valery.Pykhtin@amd.com>
Sun, 6 Mar 2016 15:13:54 +0000 (15:13 +0000)
commit50cd3c4ec747c695d1b0289379b512a82092a195
tree5cf8b742bf95e5f2b91d37e6cce06545ac034316
parent499a5c632366b12968b9b19400117a8fcb91a38c
fix sanitizer-ppc64be-linux failure for r262804

error: moving a local object in a return statement prevents copy elision [-Werror,-Wpessimizing-move]

http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/930

llvm-svn: 262805
llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp