Commit Graph

12719 Commits

Author SHA1 Message Date
Brian Gaeke
2e0d04003c Fix a dyn_cast in copyConstantToRegister which should have been a cast.
Compactify the code that emits copies of constant ints into registers.

llvm-svn: 14365
2004-06-24 09:17:47 +00:00
Brian Gaeke
734c654e50 The long integer pseudo-regs are history. So long, we hardly knew ye.
llvm-svn: 14364
2004-06-24 08:55:21 +00:00
Brian Gaeke
9a7eca6c51 Use correct add*Imm form in more BuildMI calls.
Fix bug in emitGEPOperation where we weren't passing MBB, IP to getReg.
(hey, wouldn't a constant expression lowering pass be cool? huh huhuhuh)
Fix bug in emitGEPOperation where we might try to OR a constant into a
register which was too big to fit in the immediate field.
Support and, or, xor of longs.

llvm-svn: 14363
2004-06-24 08:55:09 +00:00
Brian Gaeke
99b4ee166c Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.

llvm-svn: 14362
2004-06-24 07:37:12 +00:00
Brian Gaeke
8f0aac675d Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.
Add fp stores.

llvm-svn: 14361
2004-06-24 07:36:59 +00:00
Brian Gaeke
e39ef4e8b9 Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.
Stub out the case analysis of int-to-fp casts (no code yet).
I think the number of operands passed to BuildMI for loads was wrong.
Support load and store of float and double.

llvm-svn: 14360
2004-06-24 07:36:48 +00:00
Chris Lattner
228e6d64d0 Remove distasteful method which is really part of the indvars pass
llvm-svn: 14359
2004-06-24 06:52:20 +00:00
Chris Lattner
b4df848a58 Two fixes. First, stop using the ugly shouldSubstituteIndVar method.
Second, disable substitution of quadratic addrec expressions to avoid putting
multiplies in loops!

llvm-svn: 14358
2004-06-24 06:49:18 +00:00
Brian Gaeke
236ef1542c Strange as it may sound, we'll not use LDD/STD to store longs. For reasons of
representational consistency, we want to address the halves of each 64-bit value
separately.

llvm-svn: 14356
2004-06-24 06:44:57 +00:00
Brian Gaeke
ac14491ad0 Support constant cast expressions.
llvm-svn: 14355
2004-06-24 06:33:00 +00:00
Brian Gaeke
908208bc50 Make the most commonly preselected instructions add to the names of the
instructions they augment, instead of replacing them.  It's good for debugging,
and it's OK for the sparcv9 backend.

llvm-svn: 14353
2004-06-23 21:41:32 +00:00
Misha Brukman
0756b32837 TransformUtils library is no longer needed since Linker.cpp is in VMCore
llvm-svn: 14352
2004-06-23 17:36:17 +00:00
Misha Brukman
5b0111dddd Linker.h moved to include/llvm/Support
llvm-svn: 14351
2004-06-23 17:33:09 +00:00
Misha Brukman
0ae5becf22 Moved to include/llvm/Support
llvm-svn: 14350
2004-06-23 17:24:53 +00:00
Misha Brukman
8a1352d1b3 Linker.h moved to include/llvm/Support
llvm-svn: 14349
2004-06-23 17:24:31 +00:00
Misha Brukman
cf1f753730 Moved to lib/VMCore
llvm-svn: 14348
2004-06-23 17:21:17 +00:00
Reid Spencer
3c6901d00e Move the tests for readability of the template and gnuplot files so they
occur AFTER the source is checked out. This ensures that if either of the
-gnuplotscript or -templatefile options are not given, that they get picked
up from the checkout directory and don't abort the test unnecessarily.

llvm-svn: 14346
2004-06-23 14:07:12 +00:00
Reid Spencer
7971076728 Added a -noexternals options to avoid performing the externals tests on
test environments that don't have Povray or SPEC.

llvm-svn: 14345
2004-06-23 07:45:46 +00:00
Reid Spencer
3f1029e152 Make sure GetRegEx returns something gnuplot can deal with (a number, not
a ?) so that graphs don't bail if something fails in a test.

llvm-svn: 14344
2004-06-23 06:36:34 +00:00
Reid Spencer
d301c8fee5 Added a note about the new llvmgrep utility.
llvm-svn: 14343
2004-06-23 06:33:15 +00:00
Chris Lattner
4e431080a9 Fix merging of nodes whose incoming offset is not zero. This unbreaks DSA on
several mallocbench programs, including perl.

llvm-svn: 14342
2004-06-23 06:29:59 +00:00
Brian Gaeke
5da0956b27 Use new IsNAN() wrapper.
llvm-svn: 14340
2004-06-23 00:25:35 +00:00
Brian Gaeke
251a2b53ec Provide prototypes for IsNAN() wrapper.
llvm-svn: 14339
2004-06-23 00:25:24 +00:00
Brian Gaeke
003c5ba4d0 Wrapper for c99 isnan()
llvm-svn: 14338
2004-06-22 23:54:38 +00:00
Brian Gaeke
68ace5fc48 Regenerated.
It looks to me like people haven't been running AutoRegen.sh. Grumble grumble.

llvm-svn: 14337
2004-06-22 23:47:23 +00:00
Brian Gaeke
f463965229 Regenerated.
llvm-svn: 14336
2004-06-22 23:47:13 +00:00
Brian Gaeke
bde04ebba3 Call custom check (AC_FUNC_ISNAN) instead of using the generic function check.
llvm-svn: 14335
2004-06-22 23:43:04 +00:00
Brian Gaeke
1d0fe5571f Implement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
generic macro AC_SINGLE_CXX_CHECK.

llvm-svn: 14334
2004-06-22 23:42:49 +00:00
John Criswell
43a84d337d Added the llvm/test/Programs/Makefile.test Makefile.
Added a check for isnan() while I was at it.

llvm-svn: 14333
2004-06-22 21:35:10 +00:00
Brian Gaeke
771e52d494 Add pseudo-registers and register class for 64-bit integer values.
llvm-svn: 14332
2004-06-22 20:14:41 +00:00
Brian Gaeke
a4a0f8236b link to qmtest-2.0.3 tar file
llvm-svn: 14331
2004-06-22 19:06:49 +00:00
Misha Brukman
699226cbe4 File requires IPA, moved to lib/Analysis/IPA
llvm-svn: 14330
2004-06-22 19:04:53 +00:00
Misha Brukman
22f044dc99 Mention a note about having gccas and gccld in the path when running llvm-gcc.
llvm-svn: 14328
2004-06-22 18:48:58 +00:00
Misha Brukman
f940c277df File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure
llvm-svn: 14327
2004-06-22 18:28:37 +00:00
Misha Brukman
170b8a80de Files depend on DSA, moved to lib/Analysis/DataStructure
llvm-svn: 14326
2004-06-22 18:13:24 +00:00
Misha Brukman
43f0a951fe File depends on DSA, moved to lib/Analysis/DataStructure
llvm-svn: 14325
2004-06-22 18:11:38 +00:00
Misha Brukman
f1da4cac4b Making an archive version of the CodeGen library is unnecessary if we just
move InstructionLowering itself.

llvm-svn: 14324
2004-06-22 17:52:30 +00:00
Misha Brukman
261c779bd6 Provide archive version of CodeGen library (for those tools that only need
IntrinsicLowering, for instance).

llvm-svn: 14323
2004-06-22 17:28:43 +00:00
Chris Lattner
e1ab44ea7a Isnan became unordered
llvm-svn: 14322
2004-06-22 16:13:57 +00:00
Reid Spencer
90b558637b - Added the -nice option for nicing the build processes.
- Added the -gnuplotscript option to specify the GnuPlot script to use.
- Added the -templatefile option to specify the HTML template to use.
- Moved subroutines to top of file.
- Used variables for file names in case we want to change to directories.
- Made program track its directory changes in $VERBOSE mode (for debugging)
- Added variables to support tracking start time, finish time, and platform
  details about each nightly test.

llvm-svn: 14321
2004-06-22 15:38:37 +00:00
Misha Brukman
aac17e9e83 Regenerated with autoconf-2.57 for AIX detection support.
llvm-svn: 14320
2004-06-22 15:35:32 +00:00
Misha Brukman
80f287724f Add AIX to the list of recognized operating systems.
llvm-svn: 14319
2004-06-22 15:32:08 +00:00
Reid Spencer
62a8b268bd Added start time, finish time, and platform (uname -a output) information
to the top of the template for identification purposes.

llvm-svn: 14318
2004-06-22 15:32:02 +00:00
Tanya Lattner
cc37359b66 Fixing broken links
llvm-svn: 14317
2004-06-22 08:02:25 +00:00
Chris Lattner
26e594052e If an edge points to a field of another memory object, actually reflect this
in the DOT visualization of the DSGraphs.

llvm-svn: 14316
2004-06-22 07:13:10 +00:00
Tanya Lattner
a2145dea2d Removed extra href close tag
llvm-svn: 14315
2004-06-22 05:44:31 +00:00
Tanya Lattner
4c6405c0a9 Fixed broken links.
llvm-svn: 14313
2004-06-22 04:24:55 +00:00
Tanya Lattner
bdce628a31 Fixing broken link to gcc manual
llvm-svn: 14312
2004-06-22 03:48:17 +00:00
Chris Lattner
b4b353887e test/Libraries have been long gone for a long time now. Since noone noticed
tehse were broken, just nuke them.

llvm-svn: 14310
2004-06-22 02:26:33 +00:00
Tanya Lattner
d0308b6a9c Changing absolute link. Remembering to logout as root ;)
llvm-svn: 14309
2004-06-21 23:36:39 +00:00