1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 06:22:56 +02:00
Commit Graph

25733 Commits

Author SHA1 Message Date
Evan Cheng
5f0e94c299 Rename IsFoldableBy to CanBeFoldedleBy
llvm-svn: 29376
2006-07-28 01:03:48 +00:00
Evan Cheng
c43a75b7d4 Node selected into address mode cannot be folded.
llvm-svn: 29374
2006-07-28 00:49:31 +00:00
Evan Cheng
3b5f1c6248 Remove InFlightSet hack. No longer needed.
llvm-svn: 29373
2006-07-28 00:47:19 +00:00
Chris Lattner
1e3a35a824 Print empty inline asms as a blank line instead of:
# InlineAsm Start

        # InlineAsm End

llvm-svn: 29372
2006-07-28 00:17:20 +00:00
Evan Cheng
8920047e85 Another duh. Determine topological order before any target node is added.
llvm-svn: 29371
2006-07-28 00:10:59 +00:00
Evan Cheng
9d43eb616a Brain cramp..
llvm-svn: 29370
2006-07-27 23:35:40 +00:00
Reid Spencer
219ced1bdd Undo last commit, which was committed accidentally.
llvm-svn: 29369
2006-07-27 23:19:00 +00:00
Reid Spencer
dc6201bb05 Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs to
have a compile-host version of "nm", not build-host. In order to effect this
we must use autoconf to determine the correct "nm" to use and propagate that
through the makefiles, through llvm-config and finally to GenLibDeps.pl as
an optional argument.
Patch contributed by Anton Korobeynikov. Thanks!

llvm-svn: 29368
2006-07-27 23:00:30 +00:00
Evan Cheng
24b41a766b Allocating too large an array for ReachibilityMatrix.
llvm-svn: 29367
2006-07-27 22:35:40 +00:00
Evan Cheng
17ccdcc415 Calculate the portion of reachbility matrix on demand.
llvm-svn: 29366
2006-07-27 22:10:00 +00:00
Evan Cheng
6a126e3adb isNonImmUse is replaced by IsFoldableBy
llvm-svn: 29365
2006-07-27 21:19:10 +00:00
Patrick Jenkins
bee251acdd Removed some unneccesary print statemnts
llvm-svn: 29362
2006-07-27 21:01:39 +00:00
Patrick Jenkins
bf01a5d7a7 ChangeDir now returns the correct value
llvm-svn: 29361
2006-07-27 20:21:26 +00:00
Jim Laskey
f77eeceeba Working toward registration of register allocators.
llvm-svn: 29360
2006-07-27 20:05:00 +00:00
Evan Cheng
35cdbdb796 Remove dead code.
llvm-svn: 29359
2006-07-27 19:59:34 +00:00
Patrick Jenkins
32c79d77eb Fixed a stupid error where changedir returned false upon success.
llvm-svn: 29357
2006-07-27 19:22:06 +00:00
Patrick Jenkins
9d77695860 Added more descriptive output to singlesource,multisource tests.
llvm-svn: 29353
2006-07-27 19:00:01 +00:00
Patrick Jenkins
83e48f5155 Removed some clutter that was left over from development.
Changed how changedir worked. Hopefully now when it fails it will tell us why.

llvm-svn: 29352
2006-07-27 18:28:50 +00:00
Evan Cheng
4ceeac4159 Resolve BB references with relocation.
llvm-svn: 29351
2006-07-27 18:21:10 +00:00
Chris Lattner
ca081a735e Pass -fstrict-aliasing to the compiler when building a release build on darwin.
Darwin doesn't default to it being on.

llvm-svn: 29350
2006-07-27 18:19:51 +00:00
Evan Cheng
60d02d04dd Add basic block machine relocation.
llvm-svn: 29349
2006-07-27 18:18:13 +00:00
Evan Cheng
f363ae6ebd synchronizeICache removeed from TargetJITInfo.
llvm-svn: 29348
2006-07-27 17:33:48 +00:00
Nate Begeman
952d922bf1 Code cleanups, per review
llvm-svn: 29347
2006-07-27 16:46:58 +00:00
Evan Cheng
dbcca8f422 Use reachbility information to determine whether a node can be folded into another during isel.
llvm-svn: 29346
2006-07-27 16:44:36 +00:00
Jim Laskey
17acc47da9 Fixed a typo in Evan's submisson.
llvm-svn: 29345
2006-07-27 13:40:34 +00:00
Rafael Espindola
c0ede90402 emit global constants
llvm-svn: 29344
2006-07-27 11:38:51 +00:00
Evan Cheng
bdb2562804 AssignNodeIds should return unsigned.
llvm-svn: 29343
2006-07-27 07:36:47 +00:00
Reid Spencer
b6577bc3cd Correct a misunderstanding about cross-compiling. Anton's changes don't
cause LLVM to become a cross-compiler but rather cross-compile LLVM so that
it can execute on a platform other than the build host.

llvm-svn: 29339
2006-07-27 06:41:31 +00:00
Evan Cheng
e869883c2d Remove NodeDepth
llvm-svn: 29338
2006-07-27 06:40:15 +00:00
Evan Cheng
5783fd4aab AssignNodeIds assign each node in the DAG an unique id.
llvm-svn: 29337
2006-07-27 06:39:06 +00:00
Evan Cheng
a8e15977aa Remove NodeDepth; Add NodeId which is a unique id per node per DAG. It can only be set by SelectionDAG.
llvm-svn: 29336
2006-07-27 06:38:21 +00:00
Evan Cheng
1e640aeee8 Let each target specific isel provide routine to check if a chain producing node is foldable by another.
llvm-svn: 29335
2006-07-27 06:36:49 +00:00
Evan Cheng
39112023f1 Move synchronizeICache from TargetJITInfo into a static function in JITEmitter.cpp
llvm-svn: 29334
2006-07-27 06:33:55 +00:00
Reid Spencer
fc050d5438 Fix section title to use lower case.
llvm-svn: 29332
2006-07-27 05:51:34 +00:00
Reid Spencer
99c329614c Add instructions for building a cross-compiler. Patch contributed by
Anton Korobeynikov.

llvm-svn: 29330
2006-07-27 05:43:30 +00:00
Reid Spencer
3fe085af58 Reduce the padding on the doc_notes style. It was set to 1em which leaves
the shaded box with a large blank border, wasting space.

llvm-svn: 29328
2006-07-27 05:29:25 +00:00
Chris Lattner
1508f7383b Bump version #
llvm-svn: 29327
2006-07-27 04:58:33 +00:00
Chris Lattner
92a0b69813 Add some advice
llvm-svn: 29324
2006-07-27 04:24:14 +00:00
Chris Lattner
f2d0e0296a Use std::copy instead of custom loops to take advantage of STL optimizations.
Add a new append method for appending a range.

llvm-svn: 29323
2006-07-27 03:38:08 +00:00
Jim Laskey
046abcdbec Use the predicate.
llvm-svn: 29322
2006-07-27 02:05:13 +00:00
Patrick Jenkins
68d735bbca I made a stupid mistake when adding support for -use-gmake. ~PJ
llvm-svn: 29321
2006-07-27 01:24:35 +00:00
Patrick Jenkins
c839718eec added support for the -use-gmake option. This will come in handy when running the test on SunOS.
llvm-svn: 29319
2006-07-27 01:17:17 +00:00
Nate Begeman
3d5f5b4e8b Support jump tables when in PIC relocation model
llvm-svn: 29318
2006-07-27 01:13:04 +00:00
Jim Laskey
f35dd1a670 Prevent creation of MachineDebugInfo for intel unless it is darwin. RC842.
llvm-svn: 29317
2006-07-27 01:12:23 +00:00
Patrick Jenkins
ba02cd76ce This change will allow support for SunOS to the testing script. It adds a check to see if we're running on SunOS and if so, then uses gmake instead of make.
llvm-svn: 29316
2006-07-27 01:03:46 +00:00
Chris Lattner
d2170e1b17 Fix warning on linux
llvm-svn: 29314
2006-07-27 00:04:14 +00:00
Chris Lattner
cbd19c14f1 Fix a case where LegalizeAllNodesNotLeadingTo could take exponential time.
This manifested itself as really long time to compile
Regression/CodeGen/Generic/2003-05-28-ManyArgs.ll on ppc.
This is PR847.

llvm-svn: 29313
2006-07-26 23:55:56 +00:00
Evan Cheng
978280e425 Fix for bug 840. Only use noinline attribute if gcc version >= 3.4
llvm-svn: 29311
2006-07-26 23:06:27 +00:00
Evan Cheng
27c53dc36e New entry.
llvm-svn: 29310
2006-07-26 21:49:52 +00:00
Reid Spencer
b03f452544 For PR814:
Provide support for making cross-compiling builds. See the PR for details.
Patch provided by Anton Korobeynikov. Thanks, Anton!

llvm-svn: 29309
2006-07-26 21:14:56 +00:00