diff --git a/llvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp b/llvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp index 364c0bb5dae8b7f197b893d869944654cbf6eb2b..de4da74835ad9d110252d1b4c89e6b943d4a4864 100644 --- a/llvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp +++ b/llvm/lib/Transforms/DFG2LLVM_NVPTX/DFG2LLVM_NVPTX.cpp @@ -554,9 +554,9 @@ void CodeGenTraversal::insertRuntimeCalls(DFInternalNode* N, Kernel* K, const Tw DEBUG(errs() << "Inserting launch call" << "\n"); CallInst* NVPTX_Ctx = CallInst::Create(llvm_visc_ptx_launch, - ArrayRef<Value*>(LaunchInstArgs, 2), - "graph"+KF->getName(), - InitCall); + ArrayRef<Value*>(LaunchInstArgs, 2), + "graph"+KF->getName(), + InitCall); DEBUG(errs() << *NVPTX_Ctx << "\n"); GraphIDAddr = new GlobalVariable(M, NVPTX_Ctx->getType(),