[LLVMdev] [PATCH] llvm demo

Eugene Toder eltoder at gmail.com
Sun Jun 13 15:43:40 PDT 2010


Hi,

Here's a patch for online demo on llvm.org that
- Extends language selection to allow
  - A choice between clang and llvm-gcc
  - Entering llvm assembly directly (and uploading .ll and .bc files)
- Makes handling of uploaded files binary safe (mostly for bc files)
- Fixes code to produce valid xhtml 1.1
- Contains a lot of minor cleanup changes that make the patch big, sorry!

Should apply cleanly to trunk. I've tested it for a bit on my box, but
obviously someone needs to test it on llvm.org server to be sure that
it works properly.

Eugene

On Wed, Apr 14, 2010 at 7:12 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Apr 14, 2010, at 9:05 AM, Eugene Toder wrote:
>
>> Hi All,
>>
>> One of possibly minor but a very cool things about LLVM has always
>> been the online demo on llvm.org.
>> Now that we have clang, I think it will be great if the demo allowed
>> to use it as C/C++ front-end.
>> This will be especially useful for testing what kind of C++ clang
>> accepts/can already handle.
>
> I completely agree.  There are lots of potential great enhancements for the demo page.  The demo page now lives in llvm-www svn module, so if someone is interested in hacking on it, improvements would definitely be welcome! :)
>
> -Chris
>
>>
>> Another nice thing would be for demo to accept llvm assembler source
>> (.ll), for example, to see what optimizations could do if one adds
>> some noalias/nocapture attribute in a strategically chosen place.
>> And while I'm dreaming, ability to manually specify optimization
>> passes manually would be great :)
>>
>> If you're wondering why don't I just install llvm and do whatever I
>> want with it, I did, of course. But sometimes I want to play with it
>> from a less capable device or from some PC I don't control, and that's
>> where the demo comes in handy.
>>
>> Thanks in advance,
>> Eugene
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wwwdemo.diff
Type: application/octet-stream
Size: 16531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100613/45f95533/attachment.obj>


More information about the llvm-dev mailing list