oota-llvm.git
20 years agoFix a dyn_cast in copyConstantToRegister which should have been a cast.
Brian Gaeke [Thu, 24 Jun 2004 09:17:47 +0000 (09:17 +0000)]
Fix a dyn_cast in copyConstantToRegister which should have been a cast.
Compactify the code that emits copies of constant ints into registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14365 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe long integer pseudo-regs are history. So long, we hardly knew ye.
Brian Gaeke [Thu, 24 Jun 2004 08:55:21 +0000 (08:55 +0000)]
The long integer pseudo-regs are history. So long, we hardly knew ye.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14364 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse correct add*Imm form in more BuildMI calls.
Brian Gaeke [Thu, 24 Jun 2004 08:55:09 +0000 (08:55 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14363 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRename the load and store opcodes. The non-fp ones only have one
Brian Gaeke [Thu, 24 Jun 2004 07:37:12 +0000 (07:37 +0000)]
Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14362 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRename the load and store opcodes. The non-fp ones only have one
Brian Gaeke [Thu, 24 Jun 2004 07:36:59 +0000 (07:36 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14361 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRename the load and store opcodes. The non-fp ones only have one
Brian Gaeke [Thu, 24 Jun 2004 07:36:48 +0000 (07:36 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14360 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove distasteful method which is really part of the indvars pass
Chris Lattner [Thu, 24 Jun 2004 06:52:20 +0000 (06:52 +0000)]
Remove distasteful method which is really part of the indvars pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14359 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTwo fixes. First, stop using the ugly shouldSubstituteIndVar method.
Chris Lattner [Thu, 24 Jun 2004 06:49:18 +0000 (06:49 +0000)]
Two fixes.  First, stop using the ugly shouldSubstituteIndVar method.

Second, disable substitution of quadratic addrec expressions to avoid putting
multiplies in loops!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14358 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStrange as it may sound, we'll not use LDD/STD to store longs. For reasons of
Brian Gaeke [Thu, 24 Jun 2004 06:44:57 +0000 (06:44 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14356 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSupport constant cast expressions.
Brian Gaeke [Thu, 24 Jun 2004 06:33:00 +0000 (06:33 +0000)]
Support constant cast expressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14355 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake the most commonly preselected instructions add to the names of the
Brian Gaeke [Wed, 23 Jun 2004 21:41:32 +0000 (21:41 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14353 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTransformUtils library is no longer needed since Linker.cpp is in VMCore
Misha Brukman [Wed, 23 Jun 2004 17:36:17 +0000 (17:36 +0000)]
TransformUtils library is no longer needed since Linker.cpp is in VMCore

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14352 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLinker.h moved to include/llvm/Support
Misha Brukman [Wed, 23 Jun 2004 17:33:09 +0000 (17:33 +0000)]
Linker.h moved to include/llvm/Support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14351 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved to include/llvm/Support
Misha Brukman [Wed, 23 Jun 2004 17:24:53 +0000 (17:24 +0000)]
Moved to include/llvm/Support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14350 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLinker.h moved to include/llvm/Support
Misha Brukman [Wed, 23 Jun 2004 17:24:31 +0000 (17:24 +0000)]
Linker.h moved to include/llvm/Support

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14349 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved to lib/VMCore
Misha Brukman [Wed, 23 Jun 2004 17:21:17 +0000 (17:21 +0000)]
Moved to lib/VMCore

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14348 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove the tests for readability of the template and gnuplot files so they
Reid Spencer [Wed, 23 Jun 2004 14:07:12 +0000 (14:07 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14346 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded a -noexternals options to avoid performing the externals tests on
Reid Spencer [Wed, 23 Jun 2004 07:45:46 +0000 (07:45 +0000)]
Added a -noexternals options to avoid performing the externals tests on
test environments that don't have Povray or SPEC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14345 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure GetRegEx returns something gnuplot can deal with (a number, not
Reid Spencer [Wed, 23 Jun 2004 06:36:34 +0000 (06:36 +0000)]
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14344 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded a note about the new llvmgrep utility.
Reid Spencer [Wed, 23 Jun 2004 06:33:15 +0000 (06:33 +0000)]
Added a note about the new llvmgrep utility.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14343 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix merging of nodes whose incoming offset is not zero. This unbreaks DSA on
Chris Lattner [Wed, 23 Jun 2004 06:29:59 +0000 (06:29 +0000)]
Fix merging of nodes whose incoming offset is not zero.  This unbreaks DSA on
several mallocbench programs, including perl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14342 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse new IsNAN() wrapper.
Brian Gaeke [Wed, 23 Jun 2004 00:25:35 +0000 (00:25 +0000)]
Use new IsNAN() wrapper.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14340 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoProvide prototypes for IsNAN() wrapper.
Brian Gaeke [Wed, 23 Jun 2004 00:25:24 +0000 (00:25 +0000)]
Provide prototypes for IsNAN() wrapper.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14339 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWrapper for c99 isnan()
Brian Gaeke [Tue, 22 Jun 2004 23:54:38 +0000 (23:54 +0000)]
Wrapper for c99 isnan()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14338 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated.
Brian Gaeke [Tue, 22 Jun 2004 23:47:23 +0000 (23:47 +0000)]
Regenerated.

It looks to me like people haven't been running AutoRegen.sh. Grumble grumble.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14337 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated.
Brian Gaeke [Tue, 22 Jun 2004 23:47:13 +0000 (23:47 +0000)]
Regenerated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14336 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCall custom check (AC_FUNC_ISNAN) instead of using the generic function check.
Brian Gaeke [Tue, 22 Jun 2004 23:43:04 +0000 (23:43 +0000)]
Call custom check (AC_FUNC_ISNAN) instead of using the generic function check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14335 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
Brian Gaeke [Tue, 22 Jun 2004 23:42:49 +0000 (23:42 +0000)]
Implement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
generic macro AC_SINGLE_CXX_CHECK.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14334 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded the llvm/test/Programs/Makefile.test Makefile.
John Criswell [Tue, 22 Jun 2004 21:35:10 +0000 (21:35 +0000)]
Added the llvm/test/Programs/Makefile.test Makefile.
Added a check for isnan() while I was at it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14333 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd pseudo-registers and register class for 64-bit integer values.
Brian Gaeke [Tue, 22 Jun 2004 20:14:41 +0000 (20:14 +0000)]
Add pseudo-registers and register class for 64-bit integer values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14332 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agolink to qmtest-2.0.3 tar file
Brian Gaeke [Tue, 22 Jun 2004 19:06:49 +0000 (19:06 +0000)]
link to qmtest-2.0.3 tar file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14331 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFile requires IPA, moved to lib/Analysis/IPA
Misha Brukman [Tue, 22 Jun 2004 19:04:53 +0000 (19:04 +0000)]
File requires IPA, moved to lib/Analysis/IPA

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14330 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMention a note about having gccas and gccld in the path when running llvm-gcc.
Misha Brukman [Tue, 22 Jun 2004 18:48:58 +0000 (18:48 +0000)]
Mention a note about having gccas and gccld in the path when running llvm-gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14328 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFile depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure
Misha Brukman [Tue, 22 Jun 2004 18:28:37 +0000 (18:28 +0000)]
File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14327 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFiles depend on DSA, moved to lib/Analysis/DataStructure
Misha Brukman [Tue, 22 Jun 2004 18:13:24 +0000 (18:13 +0000)]
Files depend on DSA, moved to lib/Analysis/DataStructure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14326 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFile depends on DSA, moved to lib/Analysis/DataStructure
Misha Brukman [Tue, 22 Jun 2004 18:11:38 +0000 (18:11 +0000)]
File depends on DSA, moved to lib/Analysis/DataStructure

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14325 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMaking an archive version of the CodeGen library is unnecessary if we just
Misha Brukman [Tue, 22 Jun 2004 17:52:30 +0000 (17:52 +0000)]
Making an archive version of the CodeGen library is unnecessary if we just
move InstructionLowering itself.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14324 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoProvide archive version of CodeGen library (for those tools that only need
Misha Brukman [Tue, 22 Jun 2004 17:28:43 +0000 (17:28 +0000)]
Provide archive version of CodeGen library (for those tools that only need
IntrinsicLowering, for instance).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14323 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIsnan became unordered
Chris Lattner [Tue, 22 Jun 2004 16:13:57 +0000 (16:13 +0000)]
Isnan became unordered

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14322 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago- Added the -nice option for nicing the build processes.
Reid Spencer [Tue, 22 Jun 2004 15:38:37 +0000 (15:38 +0000)]
- 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14321 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated with autoconf-2.57 for AIX detection support.
Misha Brukman [Tue, 22 Jun 2004 15:35:32 +0000 (15:35 +0000)]
Regenerated with autoconf-2.57 for AIX detection support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14320 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd AIX to the list of recognized operating systems.
Misha Brukman [Tue, 22 Jun 2004 15:32:08 +0000 (15:32 +0000)]
Add AIX to the list of recognized operating systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14319 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded start time, finish time, and platform (uname -a output) information
Reid Spencer [Tue, 22 Jun 2004 15:32:02 +0000 (15:32 +0000)]
Added start time, finish time, and platform (uname -a output) information
to the top of the template for identification purposes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14318 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixing broken links
Tanya Lattner [Tue, 22 Jun 2004 08:02:25 +0000 (08:02 +0000)]
Fixing broken links

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14317 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIf an edge points to a field of another memory object, actually reflect this
Chris Lattner [Tue, 22 Jun 2004 07:13:10 +0000 (07:13 +0000)]
If an edge points to a field of another memory object, actually reflect this
in the DOT visualization of the DSGraphs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14316 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemoved extra href close tag
Tanya Lattner [Tue, 22 Jun 2004 05:44:31 +0000 (05:44 +0000)]
Removed extra href close tag

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14315 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoElimiante ^M's
Chris Lattner [Tue, 22 Jun 2004 04:47:34 +0000 (04:47 +0000)]
Elimiante ^M's

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14314 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixed broken links.
Tanya Lattner [Tue, 22 Jun 2004 04:24:55 +0000 (04:24 +0000)]
Fixed broken links.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14313 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixing broken link to gcc manual
Tanya Lattner [Tue, 22 Jun 2004 03:48:17 +0000 (03:48 +0000)]
Fixing broken link to gcc manual

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14312 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agotest/Libraries have been long gone for a long time now. Since noone noticed
Chris Lattner [Tue, 22 Jun 2004 02:26:33 +0000 (02:26 +0000)]
test/Libraries have been long gone for a long time now.  Since noone noticed
tehse were broken, just nuke them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14310 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChanging absolute link. Remembering to logout as root ;)
Tanya Lattner [Mon, 21 Jun 2004 23:36:39 +0000 (23:36 +0000)]
Changing absolute link. Remembering to logout as root ;)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14309 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixed small typo to symtab link.
Tanya Lattner [Mon, 21 Jun 2004 23:29:40 +0000 (23:29 +0000)]
Fixed small typo to symtab link.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14308 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoJust a stub command guide for llvm-db for now. Will be filled in later. This is not...
Tanya Lattner [Mon, 21 Jun 2004 23:27:57 +0000 (23:27 +0000)]
Just a stub command guide for llvm-db for now. Will be filled in later. This is not linked off the main command guide web page, but should be once its completed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14307 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix some broken links
Chris Lattner [Mon, 21 Jun 2004 22:52:48 +0000 (22:52 +0000)]
Fix some broken links

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14306 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOrder #includes as per style guide.
Misha Brukman [Mon, 21 Jun 2004 21:54:40 +0000 (21:54 +0000)]
Order #includes as per style guide.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14305 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse a reference instead of a pointer for the ostream. The pointer was only
Misha Brukman [Mon, 21 Jun 2004 21:53:56 +0000 (21:53 +0000)]
Use a reference instead of a pointer for the ostream.  The pointer was only
there to assist in the development of llvm-tv, and it no longer has a need to
modify the AsmWriter output stream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14304 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDirect declaration of namespace-ified globals does not work, must enclose
Misha Brukman [Mon, 21 Jun 2004 21:44:12 +0000 (21:44 +0000)]
Direct declaration of namespace-ified globals does not work, must enclose
them with a namespace declaration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14303 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSpecify variables' namespace directly instead of using an enclosing namespace.
Misha Brukman [Mon, 21 Jun 2004 21:21:49 +0000 (21:21 +0000)]
Specify variables' namespace directly instead of using an enclosing namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14302 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove implemented interface header up to the top.
Misha Brukman [Mon, 21 Jun 2004 21:20:23 +0000 (21:20 +0000)]
Move implemented interface header up to the top.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14301 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSpell out `NoFramePointerElim'.
Misha Brukman [Mon, 21 Jun 2004 21:18:48 +0000 (21:18 +0000)]
Spell out `NoFramePointerElim'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14300 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSpell out `NoFramePointerElim' for readability.
Misha Brukman [Mon, 21 Jun 2004 21:17:44 +0000 (21:17 +0000)]
Spell out `NoFramePointerElim' for readability.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14299 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse the common `NoFPElim' setting instead of our own.
Misha Brukman [Mon, 21 Jun 2004 21:10:24 +0000 (21:10 +0000)]
Use the common `NoFPElim' setting instead of our own.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14298 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement `NoFPElim' in a target-agnostic fashion so it can be shared.
Misha Brukman [Mon, 21 Jun 2004 21:08:45 +0000 (21:08 +0000)]
Implement `NoFPElim' in a target-agnostic fashion so it can be shared.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14297 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake a single `NoFPElim' switch available to all targets.
Misha Brukman [Mon, 21 Jun 2004 21:07:51 +0000 (21:07 +0000)]
Make a single `NoFPElim' switch available to all targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14296 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Make indentation consistent at 2 chars
Misha Brukman [Mon, 21 Jun 2004 20:22:03 +0000 (20:22 +0000)]
* Make indentation consistent at 2 chars
* Doxygenify function comments
* Wrap code at 80 cols

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14295 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis file is no longer applicable.
Misha Brukman [Mon, 21 Jun 2004 20:17:41 +0000 (20:17 +0000)]
This file is no longer applicable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14294 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLet's be consistent: listing format `os/arch'.
Misha Brukman [Mon, 21 Jun 2004 18:43:23 +0000 (18:43 +0000)]
Let's be consistent: listing format `os/arch'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14293 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agollvm/IntrinsicLowering.h => llvm/CodeGen/IntrinsicLowering.h
Misha Brukman [Mon, 21 Jun 2004 18:30:31 +0000 (18:30 +0000)]
llvm/IntrinsicLowering.h => llvm/CodeGen/IntrinsicLowering.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14292 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHandle shifts >= 32 bits.
Misha Brukman [Mon, 21 Jun 2004 18:01:47 +0000 (18:01 +0000)]
Handle shifts >= 32 bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14291 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIntrinsic::isnan has gone away, support for it commented out.
Misha Brukman [Mon, 21 Jun 2004 17:58:36 +0000 (17:58 +0000)]
Intrinsic::isnan has gone away, support for it commented out.
Intrinsic::isunordered has arrived, and we just use the standard lowering
pass for it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14290 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert tabs to spaces.
Misha Brukman [Mon, 21 Jun 2004 17:41:12 +0000 (17:41 +0000)]
Convert tabs to spaces.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14289 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoType::getPrimitiveID() -> getTypeID()
Misha Brukman [Mon, 21 Jun 2004 17:25:55 +0000 (17:25 +0000)]
Type::getPrimitiveID() -> getTypeID()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14288 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoType::getPrimitiveID() -> getTypeID()
Misha Brukman [Mon, 21 Jun 2004 17:19:08 +0000 (17:19 +0000)]
Type::getPrimitiveID() -> getTypeID()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14287 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial revision
Misha Brukman [Mon, 21 Jun 2004 16:55:25 +0000 (16:55 +0000)]
Initial revision

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14283 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMention the requirement of dlcompat for MacOS X.
Misha Brukman [Mon, 21 Jun 2004 14:00:44 +0000 (14:00 +0000)]
Mention the requirement of dlcompat for MacOS X.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14282 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRename Interval class to LiveInterval to avoid conflicting with the already
Chris Lattner [Mon, 21 Jun 2004 13:10:56 +0000 (13:10 +0000)]
Rename Interval class to LiveInterval to avoid conflicting with the already
existing llvm::Interval class.

Patch contributed by Vladimir Prus!
http://mail.cs.uiuc.edu/pipermail/llvmbugs/2004-June/000710.html

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14281 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake ConstantBool act like a 1 bit ConstantInt, in order to simplify client
Chris Lattner [Mon, 21 Jun 2004 12:12:12 +0000 (12:12 +0000)]
Make ConstantBool act like a 1 bit ConstantInt, in order to simplify client
code.  Patch contributed by Vladimir Prus.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14280 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNullify this test as it causes infinite loop in optimized nightly test.
Reid Spencer [Mon, 21 Jun 2004 08:11:32 +0000 (08:11 +0000)]
Nullify this test as it causes infinite loop in optimized nightly test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14279 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago*FINALLY* Fix a really nasty nondeterministic bug that has been haunting us
Chris Lattner [Mon, 21 Jun 2004 07:19:01 +0000 (07:19 +0000)]
*FINALLY* Fix a really nasty nondeterministic bug that has been haunting us
since May 1st.  In this code, the pred iterator was being invalidated sometimes
causing the wrong entries to be added to PHI nodes.

The fix for this is to defererence and safe the *PI value before we hack on
branch instructions, which changes use/def chains, which SOMETIMES invalidates
the iterator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14278 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoComment out the isnan stuff until we get a proper autoconf test for it
Chris Lattner [Mon, 21 Jun 2004 06:17:21 +0000 (06:17 +0000)]
Comment out the isnan stuff until we get a proper autoconf test for it
breaking the build on sparc is not acceptable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14277 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake order of argument addition deterministic. In particular, the layout
Chris Lattner [Mon, 21 Jun 2004 00:07:58 +0000 (00:07 +0000)]
Make order of argument addition deterministic.  In particular, the layout
of ConstantInt objects in memory used to determine which order arguments
were added in in some cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14276 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoREALLY fix PR378: crash in scalar evolution analysis
Chris Lattner [Sun, 20 Jun 2004 20:32:16 +0000 (20:32 +0000)]
REALLY fix PR378: crash in scalar evolution analysis

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14275 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded a note about requiring QMTest 2.0.3 instead of any other version.
Reid Spencer [Sun, 20 Jun 2004 19:21:11 +0000 (19:21 +0000)]
Added a note about requiring QMTest 2.0.3 instead of any other version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14274 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBug fixed
Chris Lattner [Sun, 20 Jun 2004 19:08:50 +0000 (19:08 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14273 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix a bug in my change last night that caused a few test failures.
Chris Lattner [Sun, 20 Jun 2004 17:01:44 +0000 (17:01 +0000)]
Fix a bug in my change last night that caused a few test failures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14270 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIntrinsicLowering.cpp now lives in lib/CodeGen/
Chris Lattner [Sun, 20 Jun 2004 07:59:27 +0000 (07:59 +0000)]
IntrinsicLowering.cpp now lives in lib/CodeGen/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14269 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate path
Chris Lattner [Sun, 20 Jun 2004 07:53:22 +0000 (07:53 +0000)]
Update path

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14268 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHeader moved into the CodeGen directory
Chris Lattner [Sun, 20 Jun 2004 07:50:32 +0000 (07:50 +0000)]
Header moved into the CodeGen directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14267 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove the IntrinsicLowering header into the CodeGen directory, as per PR346
Chris Lattner [Sun, 20 Jun 2004 07:49:54 +0000 (07:49 +0000)]
Move the IntrinsicLowering header into the CodeGen directory, as per PR346

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14266 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove the IntrinsicLowering header into the CodeGen directory
Chris Lattner [Sun, 20 Jun 2004 07:46:18 +0000 (07:46 +0000)]
Move the IntrinsicLowering header into the CodeGen directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14265 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStart moving IntrinsicLowering out of VMCore into libcodegen, as per PR346
Chris Lattner [Sun, 20 Jun 2004 07:40:46 +0000 (07:40 +0000)]
Start moving IntrinsicLowering out of VMCore into libcodegen, as per PR346

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14264 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not sort SCEV objects by address: instead sort by complexity and group
Chris Lattner [Sun, 20 Jun 2004 06:23:15 +0000 (06:23 +0000)]
Do not sort SCEV objects by address: instead sort by complexity and group
by address.  This prevents the resultant SCEV objects from depending on
where in memory other scev objects happen to live.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14263 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake use of BinaryOperator::create* methods to shrinkify code.
Chris Lattner [Sun, 20 Jun 2004 05:04:01 +0000 (05:04 +0000)]
Make use of BinaryOperator::create* methods to shrinkify code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14262 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd methods like BinaryOperator::createAdd that take an instruction to insert
Chris Lattner [Sun, 20 Jun 2004 05:02:56 +0000 (05:02 +0000)]
Add methods like BinaryOperator::createAdd that take an instruction to insert
before.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14261 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix the inliner to be deterministic, not letting its output depend on the
Chris Lattner [Sun, 20 Jun 2004 04:11:48 +0000 (04:11 +0000)]
Fix the inliner to be deterministic, not letting its output depend on the
relative location of Function objects in memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14260 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake fpcmp handle running off of the beginning or end of the file correctly.
Chris Lattner [Sun, 20 Jun 2004 03:12:18 +0000 (03:12 +0000)]
Make fpcmp handle running off of the beginning or end of the file correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14259 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd some DEBUG output to the simplifycfg routines
Chris Lattner [Sun, 20 Jun 2004 01:13:18 +0000 (01:13 +0000)]
Add some DEBUG output to the simplifycfg routines
Fix another non-deterministic behavior, this one should actually speed up the
code though as it was doing silly things.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14258 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoA utility to search the LLVM source tree for a grep pattern. This is a
Reid Spencer [Sat, 19 Jun 2004 20:32:55 +0000 (20:32 +0000)]
A utility to search the LLVM source tree for a grep pattern. This is a
replacement for getsrcs.sh which now generates too much text to put on a
Linux command line. The approach taken with llvmgrep is to execute a find
command and execute a grep on each file that matches the name pattern. The
arguments to this script are the same as those of egrep. Note that the -H
and -n options to egrep will always be passed so that you always get the
file and line number of matches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14255 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNow that dominator tree children are built in determinstic order, this horrible code
Chris Lattner [Sat, 19 Jun 2004 20:23:35 +0000 (20:23 +0000)]
Now that dominator tree children are built in determinstic order, this horrible code
can go away

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14254 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agocompute dominator tree children in a deterministic order that does not depend
Chris Lattner [Sat, 19 Jun 2004 20:13:48 +0000 (20:13 +0000)]
compute dominator tree children in a deterministic order that does not depend
on the address of BasicBlock objects in memory.  This eliminates stuff like this:

 Inorder Dominator Tree:
   [1]  %entry
     [2]  %loopentry
-      [3]  %loopexit
       [3]  %no_exit
-        [4]  %endif
         [4]  %then
+        [4]  %endif
+      [3]  %loopexit
       [3]  %return

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14253 91177308-0d34-0410-b5e6-96231b3b80d8