[PATCH] Make EmitFunctionHeader virtual
Matt Arsenault
Matthew.Arsenault at amd.com
Mon May 11 12:23:29 PDT 2015
Hi rafael,
This is to fix problems introduced by r232481. For HSAIL,
this function does essentially nothing desirable, and
injects unwanted / incorrect stuff before the function.
The only thing it really needs to do is call EmitFunctionEntryLabel
in this case.
http://reviews.llvm.org/D9675
Files:
include/llvm/CodeGen/AsmPrinter.h
Index: include/llvm/CodeGen/AsmPrinter.h
===================================================================
--- include/llvm/CodeGen/AsmPrinter.h
+++ include/llvm/CodeGen/AsmPrinter.h
@@ -493,7 +493,7 @@
mutable unsigned Counter;
/// This method emits the header for the current function.
- void EmitFunctionHeader();
+ virtual void EmitFunctionHeader();
/// Emit a blob of inline asm to the output streamer.
void
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9675.25496.patch
Type: text/x-patch
Size: 433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150511/0b1bdd22/attachment.bin>
More information about the llvm-commits
mailing list