1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
Commit Graph

25624 Commits

Author SHA1 Message Date
Chris Lattner
884eb77753 Revamp this to use filter-out, which makes the logic simpler and not nested.
This restores building of examples and projects!

llvm-svn: 29297
2006-07-26 19:10:34 +00:00
Reid Spencer
ed6495426c Make changes necessary for stopping the build if a cyclic library
dependency is found. The find-cycles.pl script now exits with a return code
that equals the number of cycles found. The Makefile was changed to ignore
the status code of find-cycles.pl. This should be removed once the libraries
are free of cyclic dependencies.

llvm-svn: 29290
2006-07-26 17:10:54 +00:00
Reid Spencer
62ffefecfa Build llvm-config to identify library cycles earlier in the build process.
llvm-svn: 29289
2006-07-26 17:06:02 +00:00
Reid Spencer
c2eb650e39 For PR780:
Put the rest of lib/System into LinkAllVMCore.h. This makes all of
lib/System available to programs that #include LinkALlVMCore.h so that
loadable modules linked into those programs can depend on all of lib/System
being available.

llvm-svn: 29288
2006-07-26 16:55:39 +00:00
Reid Spencer
10b9edbb69 For PR780:
1. Move IncludeFile.h to System library
2. Move IncludeFile.cpp to System library
3. #1 and #2 required to prevent cyclic library dependencies for libSystem
4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h
5. Add IncludeFile support to various lib/System classes.
6. Add new lib/System classes to LinkAllVMCore.h
All this in an attempt to pull in lib/System to what's required for VMCore

llvm-svn: 29287
2006-07-26 16:18:00 +00:00
Jim Laskey
7b3f038890 No Need to live in the past.
llvm-svn: 29282
2006-07-26 09:59:01 +00:00
Chris Lattner
d4d69f64dd Add a new llvm::SmallVector template, which is similar to the vector class, but
contains optimizations to avoid heap allocation if the vector size is smaller
than some threshold.  This can significantly improve the performance of code
that allocates many small vectors by eliminating tons of small malloc/free's.

llvm-svn: 29281
2006-07-26 06:22:30 +00:00
Jim Laskey
d7e656f90b Moving this function to a permanent home to prevent a dependency cycle created
by the inline heuristic.  Was preventing llvm-gcc4 from building.

llvm-svn: 29278
2006-07-25 23:22:00 +00:00
Reid Spencer
fb0feb79f0 Initialize some variables the compiler warns about.
llvm-svn: 29277
2006-07-25 20:44:41 +00:00
Evan Cheng
beeb4e5c8c - Refactor the code that resolve basic block references to a TargetJITInfo
method.
- Added synchronizeICache() to TargetJITInfo. It is called after each block
  of code is emitted to flush the icache. This ensures correct execution
  on targets that have separate dcache and icache.
- Added PPC / Mac OS X specific code to do icache flushing.

llvm-svn: 29276
2006-07-25 20:40:54 +00:00
Evan Cheng
692215be9c Can't commute shufps. The high / low parts elements come from different vectors.
llvm-svn: 29275
2006-07-25 20:25:40 +00:00
Rafael Espindola
2919d4ce24 implement function calling of functions with up to 4 arguments
llvm-svn: 29274
2006-07-25 20:17:20 +00:00
Reid Spencer
4198005703 Add a feature for debugging library dependency cycles, -why option. This
implies -flat and will produce a list of all the symbols for each library
that another library depends on. Run the output through c++filt for
better readability. Also, don't generate a temporary file for storing the
dependent library names. Perl can handle it in a %hash.

llvm-svn: 29273
2006-07-25 19:12:06 +00:00
Evan Cheng
f47b0d7853 XFAIL for now.
llvm-svn: 29272
2006-07-24 07:37:33 +00:00
Patrick Jenkins
77199e9893 Fixing a syntax error and adding buildtype to the .a and .o file size information.
llvm-svn: 29270
2006-07-23 22:57:28 +00:00
Patrick Jenkins
ac3524e81d When the ability to gather .a and .o file sizes was added, it changed the directory the perl script was in so when we tried to run dejagnu tests, everything failed.
llvm-svn: 29269
2006-07-23 21:38:07 +00:00
Nate Begeman
6ba0156891 Fix the build on my old and busted version of OS X
llvm-svn: 29266
2006-07-22 16:59:38 +00:00
Evan Cheng
09d3be29fa Forgot to #ifdef __APPLE__
llvm-svn: 29264
2006-07-22 00:42:03 +00:00
Patrick Jenkins
b8bacbaf5d added status message during nightly test
llvm-svn: 29263
2006-07-22 00:00:08 +00:00
Evan Cheng
56e0c65937 Done.
llvm-svn: 29262
2006-07-21 23:07:23 +00:00
Evan Cheng
712d724abb Workaround no longer needed.
llvm-svn: 29260
2006-07-21 23:06:51 +00:00
Evan Cheng
55bff38268 Resolve __dso_handle.
llvm-svn: 29259
2006-07-21 23:06:20 +00:00
Evan Cheng
a80a26a5f8 Removed a hack intended to allow (store (op (load))) folding. Will handle this with preprocessing.
llvm-svn: 29258
2006-07-21 22:19:51 +00:00
Patrick Jenkins
889052bcba Added a check to skip dejagnu test results gathering if we did not run dejagnu tests
llvm-svn: 29252
2006-07-21 21:58:06 +00:00
Patrick Jenkins
3d34e1c416 Fixed an issue of variable scope that prevented file size from being submitted to the server.
llvm-svn: 29251
2006-07-21 21:43:09 +00:00
Jim Laskey
085a8477a7 Eliminate data relocations by using NULL instead of global empty list.
llvm-svn: 29250
2006-07-21 21:15:20 +00:00
Jim Laskey
a67adda697 Use an enumeration to eliminate data relocations.
llvm-svn: 29249
2006-07-21 20:57:35 +00:00
Patrick Jenkins
79ee516a92 Added code to get .a and .o file sizes and submit them to the server in the nightly report.
llvm-svn: 29248
2006-07-21 19:51:40 +00:00
Devang Patel
66bddd67f1 Fix MacOSX build failures. (pr841)
llvm-svn: 29246
2006-07-21 19:44:55 +00:00
Rafael Espindola
9ea0bc742c implemented sub
correctly update the stack pointer in the prologue and epilogue

llvm-svn: 29244
2006-07-21 12:26:16 +00:00
Evan Cheng
ed1c019899 This opt is now handled in DAG combine.
llvm-svn: 29243
2006-07-21 08:26:46 +00:00
Evan Cheng
3b2a8d2749 If a shuffle is a splat, check if the argument is a build_vector with all elements being the same. If so, return the argument.
llvm-svn: 29242
2006-07-21 08:25:53 +00:00
Patrick Jenkins
e23fc52a3a Fixed issue where nightly test always tells you you need to use -nickname
llvm-svn: 29241
2006-07-21 01:39:42 +00:00
Patrick Jenkins
335a1ff9e5 The nightly tester will no longer report numbers instead of tests performed.
llvm-svn: 29240
2006-07-21 01:34:01 +00:00
Chris Lattner
109640a240 Build more debugger/selectiondag libraries as archives instead of .o files.
This works around bugs in some versions of the cygwin linker.

Patch contributed by Anton Korobeynikov.

llvm-svn: 29239
2006-07-21 00:10:47 +00:00
Chris Lattner
64a2afc671 Add some notes about mingw, patch contributed by Anton Korobeynikov.
llvm-svn: 29238
2006-07-21 00:06:27 +00:00
Evan Cheng
5e2472d223 New vector shuffle test case.
llvm-svn: 29237
2006-07-20 23:51:01 +00:00
Evan Cheng
a57cdfb9a0 Fix a broken test.
llvm-svn: 29236
2006-07-20 23:50:13 +00:00
Evan Cheng
94c6f2c3b5 Also checks for noResults field.
llvm-svn: 29235
2006-07-20 23:36:20 +00:00
Evan Cheng
56434b7578 A splat of a vector constant of all zero or all one is the vector constant.
llvm-svn: 29234
2006-07-20 23:09:47 +00:00
Evan Cheng
a634c2b838 Missing a space.
llvm-svn: 29233
2006-07-20 22:52:28 +00:00
Evan Cheng
fe4cf8c64a If a shuffle is unary, i.e. one of the vector argument is not needed, turn the
operand into a undef and adjust mask accordingly.

llvm-svn: 29232
2006-07-20 22:44:41 +00:00
Patrick Jenkins
b246f08be0 We now fail and print an error message if a nightly tester does not specify a nickname on the command line
llvm-svn: 29230
2006-07-20 22:28:43 +00:00
Evan Cheng
100096b2bb Clean up.
llvm-svn: 29228
2006-07-20 21:37:39 +00:00
Chris Lattner
d516a3d01a Fix a race condition in the makefile andrew reported
llvm-svn: 29227
2006-07-20 19:08:27 +00:00
Chris Lattner
3890fa2c4a Minor comment tweaks
llvm-svn: 29226
2006-07-20 19:06:16 +00:00
Chris Lattner
c4a5448546 New testcase for PR833
llvm-svn: 29225
2006-07-20 19:04:36 +00:00
Chris Lattner
77e6cda5d0 Mems can be in the output list also. This is the second half of a fix for
PR833

llvm-svn: 29224
2006-07-20 19:02:21 +00:00
Devang Patel
cb3c26fa6a Make it fit into 80 cols.
llvm-svn: 29223
2006-07-20 18:03:39 +00:00
Devang Patel
07e0d34f7d Add new constructor to accept vector of exported names while creating
InternalizePass.

llvm-svn: 29222
2006-07-20 17:48:05 +00:00