[llvm] [BOLT][AArch64] Provide createDummyReturnFunction (PR #96626)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 01:28:30 PDT 2024


================
@@ -2041,10 +2041,10 @@ class MCPlusBuilder {
     return InstructionListType();
   }
 
-  virtual InstructionListType createDummyReturnFunction(MCContext *Ctx) const {
----------------
paschalis-mpeis wrote:

Thanks for your review. Done.

@yota9 yes, that was my intuition; I found implying that a function was created somewhat misleading.
`createReturn` is already used though, so we might go with something like: `createReturnBody`.
I will put up a follow-up NFC patch soon.

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


More information about the llvm-commits mailing list