[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
Evan Cheng
evan.cheng at apple.com
Sat Jun 6 13:51:13 PDT 2009
+cl::opt<std::string> FlagJumpTableSection("jumptable-section",
+ cl::init(".data.jtab"));
+
Is this necessary? Why not just put it in the normal data section?
Also "outline" jumptable seems like a strange term. Can you think of
something else?
Thanks,
Evan
Sent from my iPhone
On Jun 2, 2009, at 6:26 PM, robert muth <robert at muth.org> wrote:
> Hi:
>
> This is my first patch submission. Hopefully, this is the proper the
> protocol.
> Attached is a patch for the llc ARM backend:
>
> Added mechanism to generate switch table in a data section
> rather than having it interleaved with the code.
> This is controlled by command line flags and off by default.
> Also, tried to document and improve the code where I modified it.
>
> Robert
> <llc.patch.txt>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090606/bbfb602d/attachment.html>
More information about the llvm-dev
mailing list