[llvm-commits] [llvm] r80809 - /llvm/trunk/include/llvm/Support/IRReader.h

Chris Lattner clattner at apple.com
Wed Sep 2 20:26:08 PDT 2009


On Sep 2, 2009, at 10:54 AM, Dan Gohman wrote:

> Author: djg
> Date: Wed Sep  2 12:54:06 2009
> New Revision: 80809
>
> URL: http://llvm.org/viewvc/llvm-project?rev=80809&view=rev
> Log:
> Add convenience functions for reading in LLVM IR that autodetect
> and LLVM Assembly and LLVM Bitcode and automatically call the
> corresponding reader.

Nice.  Can this be used to eliminate Bugpoint/ 
BugDriver.cpp:llvm::ParseInputFile?

It would be nice for our low level tool chain to be somewhat  
consistent about this: use if for both opt and llc, etc.

-Chris




More information about the llvm-commits mailing list