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)
52
52
if (func)
53
53
{
54
54
StringRef original = func->getName ();
55
- std::string changed = replaceInvalidCharToUnderline (original);
55
+ std::string changed = replaceInvalidCharToUnderline (original. str () );
56
56
if (original != changed)
57
57
{
58
58
func->setName (changed);
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ SPDX-License-Identifier: MIT
20
20
#include " vc/Support/GenXDiagnostic.h"
21
21
#include " vc/Support/BackendConfig.h"
22
22
23
+ #include < llvm/Analysis/CallGraph.h>
23
24
#include < llvm/CodeGen/TargetPassConfig.h>
24
25
#include < llvm/GenXIntrinsics/GenXMetadata.h>
25
26
#include < llvm/IR/Instructions.h>
You can’t perform that action at this time.
0 commit comments