diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-26 02:12:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-26 02:12:58 +0000 |
commit | 47d679151b4bd709e9818313117524f35c2ceefd (patch) | |
tree | 34c6e2c1e7e26d1dcaddcd292e625787b229b3e6 /llvm/lib/Target/CppBackend | |
parent | 3092b822552965efa5c13103d1ed5bce8774682b (diff) | |
download | bcm5719-llvm-47d679151b4bd709e9818313117524f35c2ceefd.tar.gz bcm5719-llvm-47d679151b4bd709e9818313117524f35c2ceefd.zip |
Add TargetRegistry::lookupTarget.
- This is a simplified mechanism which just looks up a target based on the
target triple, with a few additional flags.
- Remove getClosestStaticTargetForModule, the moral equivalent is now:
lookupTarget(Mod->getTargetTriple, true, false, ...);
- This no longer does the fuzzy matching with target data (based on endianness
and pointer width) that getClosestStaticTargetForModule was doing, but this
was deemed unnecessary.
llvm-svn: 77111
Diffstat (limited to 'llvm/lib/Target/CppBackend')
0 files changed, 0 insertions, 0 deletions