File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUPrintfRuntimeBinding : public ModulePass {
40
40
static char ID;
41
41
explicit AMDGPUPrintfRuntimeBinding ();
42
42
SmallVector<Value*, 32 > Printfs;
43
- const char * getPassName () const override ;
43
+ StringRef getPassName () const override ;
44
44
bool runOnModule (Module &M) override ;
45
45
bool doInitialization (Module &M) override ;
46
46
bool doFinalization (Module &M) override ;
@@ -673,7 +673,7 @@ bool AMDGPUPrintfRuntimeBinding::runOnModule(Module &M) {
673
673
return lowerPrintfForGpu (M);
674
674
}
675
675
676
- const char * AMDGPUPrintfRuntimeBinding::getPassName () const {
676
+ StringRef AMDGPUPrintfRuntimeBinding::getPassName () const {
677
677
return " AMD Printf lowering part 1" ;
678
678
}
679
679
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class SIMemoryLegalizer final : public MachineFunctionPass {
95
95
MachineFunctionPass::getAnalysisUsage (AU);
96
96
}
97
97
98
- const char * getPassName () const override {
98
+ StringRef getPassName () const override {
99
99
return PASS_NAME;
100
100
}
101
101
You can’t perform that action at this time.
0 commit comments