[LLVMdev] New TargetSpec 'llvmnote'
Chris Lattner
clattner at apple.com
Wed Feb 23 11:26:07 PST 2011
On Feb 23, 2011, at 2:47 AM, David Given wrote:
> On 02/23/11 02:46, Chris Lattner wrote:
> [...]
>> Remember that this isn't intended to be something users deal with, it's just an internal implementation detail of the compiler, debugger, nm implementation, etc.
>
> Can I put in a plea to have as much of LLVM as possible *not* require
> knowledge of a single, specific architecture to work?
>
> I have various things I would like to do that work on abstract machines,
> where I don't have a specific target or CPU in mind, but just want to
> work at the bitcode level. Right now the only way I know of doing this
> is to hardcode the datalayout into a new target and rebuild the whole
> shooting match, LLVM and clang combined. I very much do not want to do this.
This request is completely orthogonal to the proposal. If you generate target independent LLVM IR, you don't have to put a triple into the IR. This isn't going to change.
-Chris
More information about the llvm-dev
mailing list