Reid Spencer
4a7ebfa411
For PR387:\
...
Add getModRefInfo method to avoid overloaded virtuals
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18601 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 08:11:24 +00:00
Reid Spencer
ce20771ec2
For PR387:\
...
Add runPass methods to remove -Woverloaded-virtual warnings are not \
present and circumvent possible inheritance bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18600 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 08:11:11 +00:00
Chris Lattner
7506b1d698
Commit the cleanup of the LLVM 1.4 release notes. This should clearly go
...
into the release :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18599 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 08:04:13 +00:00
Reid Spencer
574cdb32a0
Revert the recent patches to "fix" ConstantFP::isValueValidForType. None
...
of them seem to work everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18598 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 07:38:08 +00:00
Reid Spencer
e2432596ac
Provide a missing header file.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18597 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 07:08:08 +00:00
Reid Spencer
79457c791e
Fix some comments.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18596 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 07:06:47 +00:00
Alkis Evlogimenos
eb61d60e1b
Fix check for valid floats. Also use and HUGE_VALF instead
...
of std::numeric_limits, because they work in more platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18593 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 06:46:50 +00:00
Nate Begeman
80ad87d227
Move virtual function call out of loop to speed up getFreePhysReg by about
...
20%, shaving 0.1s off hbd compile time on my g5. Yay.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18592 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 05:25:53 +00:00
Reid Spencer
ce9653ce44
For PR387:\
...
Make only one print method to avoid overloaded virtual warnings when \
compiled with -Woverloaded-virtual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18589 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-07 04:03:45 +00:00
Reid Spencer
ead87b6712
For PR387:
...
Make this compile without warning when -Woverloaded-virtual is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18588 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 23:42:37 +00:00
Reid Spencer
4e69a5ba09
PR409 fixed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18586 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 22:32:33 +00:00
Reid Spencer
b9ce8b3f1b
For PR409: \
...
Test the range of float constants to ensure we are not attempting to create a \
float constant using a double value that is out of range for a float
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18585 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 22:18:37 +00:00
Reid Spencer
9f9b3acfce
For PR409: \
...
Make sure to check isValueValidForType on floating point constants and give \
an error if the value is not valid, otherwise it would assert in the VMCore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18584 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 22:18:25 +00:00
John Criswell
441c3cf82b
This test still fails on Darwin and Sparc/Solaris.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18583 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 22:05:02 +00:00
Reid Spencer
66e10ab153
Test case for PR409:
...
Make sure that floating point constant values outside the range of a float
cannot be assigned to a constant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18582 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 21:57:59 +00:00
John Criswell
06c2e66435
Remove the last pieces of QMTest.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18581 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 21:35:32 +00:00
Reid Spencer
51e615f5dd
Revert previous changes to remove -enable-linscan and the *BETA columns of
...
the nightly test. These are still needed for iterative linear scan testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18577 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 20:14:45 +00:00
Reid Spencer
2e4cdbfc5a
Rather than break all the nightly test invocations, permit -enable-linscan
...
option to be specified, but do nothing with it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18575 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 18:33:54 +00:00
Reid Spencer
c537224c00
Remove LLC-BETA and linear scan options as they are no longer reported.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18574 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 18:29:14 +00:00
Reid Spencer
135e1d8c3c
Change check to check-local per Makefile.rules changes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18568 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 05:35:38 +00:00
Reid Spencer
d8489c79ac
Upgrade documentation to reflect Makefile.rules changes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18567 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 05:35:25 +00:00
Reid Spencer
9e8d54a059
Add the check target so all projects can have this
...
functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18566 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 05:35:13 +00:00
Reid Spencer
0fa2c54b90
Remove the check target. Its now in Makefile.rules
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18565 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 05:35:00 +00:00
Tanya Lattner
5026c7f91d
Added DejaGNU information to the testing guide. This should go into the 1.4 release.
...
I left the QMTest stuff in place but made it appear to be optional.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18564 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 02:11:52 +00:00
Reid Spencer
b3b05ed3f8
PR139 fixed.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18551 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 20:19:45 +00:00
Alkis Evlogimenos
43962b5c63
Add accessors for Constants in a ConstantStruct.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18550 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 20:09:18 +00:00
Reid Spencer
c191d497d5
Fix PR139:\
...
When not linking as a library, use LinkItems to retain command line order of \
linking, otherwise use LinkFiles
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18549 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:15:29 +00:00
Reid Spencer
8bcd0502a3
Make use of the LLVMGCCStdCXXLibDir variable to link objects
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18548 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:15:06 +00:00
Reid Spencer
4bdf1c9855
Fix PR139: \
...
Implement LinkItems and BuildLinkItems interfaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18547 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:14:55 +00:00
Reid Spencer
f580546960
Fix PR139: \
...
Add support for ordered linking with the LinkItems function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18546 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:14:43 +00:00
Reid Spencer
9b81d9c2e6
Describe the MODULE_NAME control variable
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18545 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:14:31 +00:00
Reid Spencer
4362003b22
Provide a variable to compute where the libstdc++.a is
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18544 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 19:14:19 +00:00
Chris Lattner
5e9a501d97
Suggest people run cvs up -P -d after checking out the tree so they don't
...
get empty directories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18543 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 17:48:03 +00:00
Chris Lattner
e518b7170b
Properly implement a fix for PR475
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18537 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 07:19:16 +00:00
Chris Lattner
2969ba4ab3
Make this test actually capable of passing.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18536 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 07:15:21 +00:00
Chris Lattner
6d316f85ba
Revert this patch, it broke a ton of programs.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18535 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:59:59 +00:00
Chris Lattner
3150e2de93
Move lower intrinsics before FP constant emission, in case
...
intrinsic lowering ever introduces constants.
Rename local symbols before printing function bodies, fixing 255.vortex
with the CBE!!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18534 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:49:44 +00:00
Chris Lattner
bf90a5be71
Change this test to not require execution of the program.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:45:30 +00:00
Chris Lattner
333529e6be
When printing out a function, make sure that local and global symbols
...
don't conflict. This fixes Assembler/2004-12-05-LocalGlobalSymtabConflict.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18532 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:44:09 +00:00
Chris Lattner
caa4ae7c3f
Add a new method
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18531 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:43:27 +00:00
Chris Lattner
637b77224f
Fix typeo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18530 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:33:15 +00:00
Chris Lattner
c2e63a2d93
New testcase for the bug affecting 255.vortex in CBE mode.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18529 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:18:35 +00:00
Reid Spencer
5978485324
Correct build script for stkr_runtime module
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18526 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 05:18:28 +00:00
Reid Spencer
9f60a49415
Build a module instead of a library so main() is not missed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18525 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 05:18:16 +00:00
Reid Spencer
42f006c8f5
Make a const method const
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18524 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 05:17:34 +00:00
Reid Spencer
7980ea4cfa
Add ability to make a single bytecode module from others
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18523 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 05:17:22 +00:00
Alkis Evlogimenos
5b554ade20
Remove unneeded code
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18516 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 02:03:16 +00:00
Alkis Evlogimenos
9d272d4953
Fix PR475.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18515 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 01:51:20 +00:00
Alkis Evlogimenos
bb622c8802
Match codegen string better
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 01:50:32 +00:00
Alkis Evlogimenos
84da5a6cc8
Add testcast for bug475
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18513 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 01:44:46 +00:00