diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-08-08 20:31:37 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-08-08 20:31:37 +0000 |
commit | 5f91a99427c0be5899835fc6407c6e55bfcd606d (patch) | |
tree | 1212b7bb26ba438a0d58e4f0e041462c252bdf48 /tools | |
parent | ba7b890d0b8ca554fac24d24f8c17cb93adc3abc (diff) |
Add test triples to fix win32 failures. Revert workaround from r161292.
I don't have a win32 system to test, so hopefully I got them all fixed here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llc/llc.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index a8d1c84832..8951050c07 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -495,12 +495,9 @@ int main(int argc, char **argv) { // Add an appropriate TargetLibraryInfo pass for the module's triple. TargetLibraryInfo *TLI = new TargetLibraryInfo(TheTriple); - if (DisableSimplifyLibCalls) { + if (DisableSimplifyLibCalls) TLI->disableAllFunctions(); - - // FIXME: Fix several tests on i686-win32 due to lacking of many libraries. - PM.add(TLI); - } + PM.add(TLI); // Add the target data from the target machine, if it exists, or the module. if (const TargetData *TD = Target.getTargetData()) |