[llvm] [Offload] Sanitize "standalone" unreachable instructions (PR #101425)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 14:35:43 PDT 2024


================
@@ -30,6 +31,14 @@ Directive getCompoundConstruct(ArrayRef<Directive> Parts);
 bool isLeafConstruct(Directive D);
 bool isCompositeConstruct(Directive D);
 bool isCombinedConstruct(Directive D);
+
+/// Create a nicer version of a function name for humans to look at.
+std::string prettityFunctionName(StringRef FunctionName);
----------------
jdoerfert wrote:

Only look at the last commit for my PRs. I fixed this and its 'prettify' in upstream now.

https://github.com/llvm/llvm-project/pull/101425


More information about the llvm-commits mailing list