summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorSingapuram Sanjay Srivallabh <singapuram.sanjay@gmail.com>2017-07-29 18:03:49 +0000
committerSingapuram Sanjay Srivallabh <singapuram.sanjay@gmail.com>2017-07-29 18:03:49 +0000
commitcf9a8133687a4c4b562e32f300ee65bd6b30d1bf (patch)
treea9ad5fb640af4764ef9a9710425242f2bea4dc68 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentce9617f4fe9da8a84c3e16061b4b485e94c446de (diff)
downloadbcm5719-llvm-cf9a8133687a4c4b562e32f300ee65bd6b30d1bf.tar.gz
bcm5719-llvm-cf9a8133687a4c4b562e32f300ee65bd6b30d1bf.zip
Remove Debug metadata from copied instruction to prevent Module verification failure
Summary: **Remove debug metadata from instruction to be copied to prevent the source file's debug metadata being copied into GPUModule and eventually failing Module verification and ASM string codegeneration.** When copying the instruction onto the Module meant for the GPU, debug metadata attached to an instruction causes all related metadata to be pulled into the Module, including the DICompileUnit, which is not listed in llvm.dbg.cu of the Module. This fails the verification of the Module and generation of the ASM string. The only debug metadata of the instruction, the DebugLoc, is unset by this patch. Reviewers: grosser, bollu, Meinersbur Reviewed By: grosser, bollu Subscribers: pollydev Tags: #polly Differential Revision: https://reviews.llvm.org/D35630 llvm-svn: 309490
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud