File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
VectorCompiler/lib/GenXCodeGen Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ bool FixInvalidFuncName::runOnFunction(Function& F)
5252 if (func)
5353 {
5454 StringRef original = func->getName ();
55- std::string changed = replaceInvalidCharToUnderline (original);
55+ std::string changed = replaceInvalidCharToUnderline (original. str () );
5656 if (original != changed)
5757 {
5858 func->setName (changed);
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ SPDX-License-Identifier: MIT
2020#include " vc/Support/GenXDiagnostic.h"
2121#include " vc/Support/BackendConfig.h"
2222
23+ #include < llvm/Analysis/CallGraph.h>
2324#include < llvm/CodeGen/TargetPassConfig.h>
2425#include < llvm/GenXIntrinsics/GenXMetadata.h>
2526#include < llvm/IR/Instructions.h>
You can’t perform that action at this time.
0 commit comments