oota-llvm.git
18 years agoAllow loop detection during debug in forwarding nodes, and revert auxcall patch as...
Andrew Lenharth [Tue, 7 Nov 2006 20:36:02 +0000 (20:36 +0000)]
Allow loop detection during debug in forwarding nodes, and revert auxcall patch as it make 176.gcc untenable

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

18 years agodebug type for DSA TD
Andrew Lenharth [Tue, 7 Nov 2006 20:35:11 +0000 (20:35 +0000)]
debug type for DSA TD

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

18 years ago1. Add a pass to fold debug label instructions so a debug info client can detect
Jim Laskey [Tue, 7 Nov 2006 19:33:46 +0000 (19:33 +0000)]
1. Add a pass to fold debug label instructions so a debug info client can detect
empty ranges.

2. Reorg how MachineDebugInfo maintains changes to debug labels.

3. Have dwarf writer use debug label info to simplify scopes and source line
coorespondence.

4. Revert the merging of compile units until I can get the bugs ironed out.

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

18 years agoadd a note from viterbi
Chris Lattner [Tue, 7 Nov 2006 18:30:21 +0000 (18:30 +0000)]
add a note from viterbi

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

18 years agoEnable improved spilling costs by default. This speeds up viterbi on x86
Chris Lattner [Tue, 7 Nov 2006 18:04:58 +0000 (18:04 +0000)]
Enable improved spilling costs by default.  This speeds up viterbi on x86
by 40%, FreeBench/fourinarow by 20%, and many other programs 10-25%.

On PPC, this speeds up fourinarow by 18%, and probably other things as well.

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

18 years agoGot a little ahead of myself here
Andrew Lenharth [Tue, 7 Nov 2006 16:40:19 +0000 (16:40 +0000)]
Got a little ahead of myself here

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

18 years agoFix this test
Andrew Lenharth [Tue, 7 Nov 2006 16:32:55 +0000 (16:32 +0000)]
Fix this test

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

18 years agoUse correct value for float HUGH_VAL.
Jim Laskey [Tue, 7 Nov 2006 12:25:45 +0000 (12:25 +0000)]
Use correct value for float HUGH_VAL.

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

18 years agoAdded target hook for post-indexed memory ops transformation.
Evan Cheng [Tue, 7 Nov 2006 09:04:16 +0000 (09:04 +0000)]
Added target hook for post-indexed memory ops transformation.

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

18 years agoAdd post-indexed load / store transformations.
Evan Cheng [Tue, 7 Nov 2006 09:03:05 +0000 (09:03 +0000)]
Add post-indexed load / store transformations.

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

18 years agoMake some corrections to this test case.
Reid Spencer [Tue, 7 Nov 2006 07:58:02 +0000 (07:58 +0000)]
Make some corrections to this test case.

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

18 years agoIgnore the Output dir.
Reid Spencer [Tue, 7 Nov 2006 07:34:56 +0000 (07:34 +0000)]
Ignore the Output dir.

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

18 years agoAdd a test case for making sure gdb can get a stack trace with our debug
Reid Spencer [Tue, 7 Nov 2006 07:31:37 +0000 (07:31 +0000)]
Add a test case for making sure gdb can get a stack trace with our debug
information.

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

18 years agoAdd a new llcbeta option. This speeds up viterbi from 12.34 to 8.76s on
Chris Lattner [Tue, 7 Nov 2006 07:18:40 +0000 (07:18 +0000)]
Add a new llcbeta option.  This speeds up viterbi from 12.34 to 8.76s on
X86.  If happy, I'll enable this by default.

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

18 years agoUnbreak X86/ELF Debugging. Somehow this line got lost in Jim's cleanup.
Reid Spencer [Tue, 7 Nov 2006 06:36:36 +0000 (06:36 +0000)]
Unbreak X86/ELF Debugging. Somehow this line got lost in Jim's cleanup.

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

18 years agoBumping version number
Tanya Lattner [Tue, 7 Nov 2006 05:31:00 +0000 (05:31 +0000)]
Bumping version number

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

18 years agowrong bug #
Chris Lattner [Tue, 7 Nov 2006 04:12:03 +0000 (04:12 +0000)]
wrong bug #

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

18 years agoFix PR988 and CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll.
Chris Lattner [Tue, 7 Nov 2006 04:11:44 +0000 (04:11 +0000)]
Fix PR988 and CodeGen/Generic/2006-11-06-MemIntrinsicExpand.ll.
The low part goes in the first operand of expandop, not the second one.

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

18 years agonew testcase
Chris Lattner [Tue, 7 Nov 2006 04:11:14 +0000 (04:11 +0000)]
new testcase

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

18 years agofix encoding of BLR
Chris Lattner [Tue, 7 Nov 2006 01:51:50 +0000 (01:51 +0000)]
fix encoding of BLR

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

18 years agoemit TIED_TO correctly
Chris Lattner [Tue, 7 Nov 2006 01:27:55 +0000 (01:27 +0000)]
emit TIED_TO correctly

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

18 years agoMark predicate operands as such in operand info.
Chris Lattner [Mon, 6 Nov 2006 23:53:31 +0000 (23:53 +0000)]
Mark predicate operands as such in operand info.

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

18 years agoAdd a new operand flag to mark which operand is the first predicate operand
Chris Lattner [Mon, 6 Nov 2006 23:53:08 +0000 (23:53 +0000)]
Add a new operand flag to mark which operand is the first predicate operand
of an M_PREDICATED instruction.

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

18 years agosimplify the way operand flags and constraints are handled, making it easier
Chris Lattner [Mon, 6 Nov 2006 23:49:51 +0000 (23:49 +0000)]
simplify the way operand flags and constraints are handled, making it easier
to extend.

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

18 years agorecognize ppc's blr instruction as predicated
Chris Lattner [Mon, 6 Nov 2006 21:44:54 +0000 (21:44 +0000)]
recognize ppc's blr instruction as predicated

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

18 years agoadd a flag so that predicated instructions can be recognized by branch
Chris Lattner [Mon, 6 Nov 2006 21:44:17 +0000 (21:44 +0000)]
add a flag so that predicated instructions can be recognized by branch
folding

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

18 years agoRemove dead code; added a missing null ptr check.
Evan Cheng [Mon, 6 Nov 2006 21:33:46 +0000 (21:33 +0000)]
Remove dead code; added a missing null ptr check.

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

18 years agoadd a note
Chris Lattner [Mon, 6 Nov 2006 21:26:49 +0000 (21:26 +0000)]
add a note

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

18 years agoFix a small bug noticed on code review.
Reid Spencer [Mon, 6 Nov 2006 18:47:14 +0000 (18:47 +0000)]
Fix a small bug noticed on code review.

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

18 years agoTab interferes with uniqueness.
Jim Laskey [Mon, 6 Nov 2006 16:23:59 +0000 (16:23 +0000)]
Tab interferes with uniqueness.
NOTE: There doesn't seem to be consistency for whether a leading tab
is present in a section heading.

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

18 years agoD'oh - reversed logic.
Jim Laskey [Mon, 6 Nov 2006 13:20:29 +0000 (13:20 +0000)]
D'oh - reversed logic.

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

18 years agoAdd comment.
Evan Cheng [Mon, 6 Nov 2006 08:14:30 +0000 (08:14 +0000)]
Add comment.

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

18 years agoregenerate
Chris Lattner [Sun, 5 Nov 2006 23:28:58 +0000 (23:28 +0000)]
regenerate

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

18 years agoxfail this for the 1.9 release. This is PR984.
Chris Lattner [Sun, 5 Nov 2006 23:27:36 +0000 (23:27 +0000)]
xfail this for the 1.9 release.  This is PR984.

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

18 years agoTry again.
Jim Laskey [Sun, 5 Nov 2006 21:21:20 +0000 (21:21 +0000)]
Try again.

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

18 years agoMisfire.
Jim Laskey [Sun, 5 Nov 2006 21:20:04 +0000 (21:20 +0000)]
Misfire.

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

18 years agoUp to date for 1.9
Jim Laskey [Sun, 5 Nov 2006 21:00:54 +0000 (21:00 +0000)]
Up to date for 1.9

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

18 years agoGet LLVMGCCARCH right regardless of the llvm-gcc version being used.
Reid Spencer [Sun, 5 Nov 2006 20:10:16 +0000 (20:10 +0000)]
Get LLVMGCCARCH right regardless of the llvm-gcc version being used.

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

18 years agoFix a problem in the the last patch that subverts error message printing.
Reid Spencer [Sun, 5 Nov 2006 19:53:08 +0000 (19:53 +0000)]
Fix a problem in the the last patch that subverts error message printing.

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

18 years agoRemove obsolete VS project.
Jeff Cohen [Sun, 5 Nov 2006 19:38:20 +0000 (19:38 +0000)]
Remove obsolete VS project.

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

18 years agoUnbreak VC++ build.
Jeff Cohen [Sun, 5 Nov 2006 19:31:28 +0000 (19:31 +0000)]
Unbreak VC++ build.

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

18 years agoFix a bug in the last patch and convert to && instead of & for logical expr.
Reid Spencer [Sun, 5 Nov 2006 19:26:37 +0000 (19:26 +0000)]
Fix a bug in the last patch and convert to && instead of & for logical expr.

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

18 years agoImplement the -enabled-cbe-printf-a feature.
Reid Spencer [Sun, 5 Nov 2006 17:09:41 +0000 (17:09 +0000)]
Implement the -enabled-cbe-printf-a feature.

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

18 years agoAdd a -disable-cbe-printf-a option so that the output of the C Backend
Reid Spencer [Sun, 5 Nov 2006 17:08:18 +0000 (17:08 +0000)]
Add a -disable-cbe-printf-a option so that the output of the C Backend
stands a chance of being compiled with a non C99 C compiler. The default
is enabled so you must specifically disable this feature if you want the
CBE output compiled with an older C compiler.

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

18 years agoRemove commented line from earlier debugging.
Nick Lewycky [Sun, 5 Nov 2006 14:19:40 +0000 (14:19 +0000)]
Remove commented line from earlier debugging.

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

18 years agoAdded pre-indexed store support.
Evan Cheng [Sun, 5 Nov 2006 09:31:14 +0000 (09:31 +0000)]
Added pre-indexed store support.

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

18 years agoAdded getIndexedStore.
Evan Cheng [Sun, 5 Nov 2006 09:30:09 +0000 (09:30 +0000)]
Added getIndexedStore.

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

18 years agoDon't check variables before they are set.
Reid Spencer [Sun, 5 Nov 2006 03:58:44 +0000 (03:58 +0000)]
Don't check variables before they are set.
Be careful about blanks when checking LLVMGCC variable.

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

18 years agoLive local variables are being dropped because the begin or end labels marking
Jim Laskey [Sat, 4 Nov 2006 10:48:07 +0000 (10:48 +0000)]
Live local variables are being dropped because the begin or end labels marking
their scope are being deleted.  Workaround is to widen scope to full function.

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

18 years agoChanges to use operand constraints to process two-address instructions.
Evan Cheng [Sat, 4 Nov 2006 09:44:31 +0000 (09:44 +0000)]
Changes to use operand constraints to process two-address instructions.

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

18 years agoMove to operand constraints for two-address instructions.
Evan Cheng [Sat, 4 Nov 2006 09:42:53 +0000 (09:42 +0000)]
Move to operand constraints for two-address instructions.

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

18 years agoClean up some code.
Evan Cheng [Sat, 4 Nov 2006 09:40:23 +0000 (09:40 +0000)]
Clean up some code.

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

18 years agoencode BLR predicate info for the JIT
Chris Lattner [Sat, 4 Nov 2006 05:42:48 +0000 (05:42 +0000)]
encode BLR predicate info for the JIT

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

18 years agoGo through all kinds of trouble to mark 'blr' as having a predicate operand
Chris Lattner [Sat, 4 Nov 2006 05:27:39 +0000 (05:27 +0000)]
Go through all kinds of trouble to mark 'blr' as having a predicate operand
that takes a register and condition code.  Print these pieces of BLR the
right way, even though it is currently set to 'always'.

Next up: get the JIT encoding right, then enhance branch folding to produce
predicated blr for simple examples.

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

18 years agoParse PredicateOperand's. When an instruction takes one, have the generated
Chris Lattner [Sat, 4 Nov 2006 05:12:02 +0000 (05:12 +0000)]
Parse PredicateOperand's.  When an instruction takes one, have the generated
isel fill in the instruction operands with the 'execute always' value
automatically.

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

18 years agoFirst steps to getting PredicateOperand's to work. This handles instruction
Chris Lattner [Sat, 4 Nov 2006 01:35:50 +0000 (01:35 +0000)]
First steps to getting PredicateOperand's to work.  This handles instruction
and pat pattern definitions.  Codegen is not right for them yet.

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

18 years agoOkay, need a pattern before and after the cast pattern.
Reid Spencer [Sat, 4 Nov 2006 01:11:19 +0000 (01:11 +0000)]
Okay, need a pattern before and after the cast pattern.

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

18 years agoAllow the regular expression to be extended by a parameter.
Reid Spencer [Sat, 4 Nov 2006 00:58:39 +0000 (00:58 +0000)]
Allow the regular expression to be extended by a parameter.

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

18 years agoFor PR950:
Reid Spencer [Sat, 4 Nov 2006 00:49:52 +0000 (00:49 +0000)]
For PR950:
A little script to return 1 if it encounters any of the cast instructions
on the stdin.

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

18 years agoAdd a note about warnings from the GNU ld 2.16.X linker.
Reid Spencer [Sat, 4 Nov 2006 00:33:42 +0000 (00:33 +0000)]
Add a note about warnings from the GNU ld 2.16.X linker.

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

18 years agoFixed some spiller bugs exposed by the recent two-address code changes. Now
Evan Cheng [Sat, 4 Nov 2006 00:21:55 +0000 (00:21 +0000)]
Fixed some spiller bugs exposed by the recent two-address code changes. Now
there may be other def(s) apart from the use&def two-address operand. We need
to check if the register reuse for a use&def operand may conflicts with another
def. Provide a mean to recover from the conflict if it is detected when the
defs are processed later.

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

18 years agoDescribe PPC predicates, which are a pair of CR# and condition.
Chris Lattner [Fri, 3 Nov 2006 23:53:25 +0000 (23:53 +0000)]
Describe PPC predicates, which are a pair of CR# and condition.

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

18 years agoinitial steps to getting the predicate on PPC::BLR right.
Chris Lattner [Fri, 3 Nov 2006 23:52:18 +0000 (23:52 +0000)]
initial steps to getting the predicate on PPC::BLR right.

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

18 years agoremove dead var
Chris Lattner [Fri, 3 Nov 2006 23:50:15 +0000 (23:50 +0000)]
remove dead var

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

18 years agoremove dead/redundant vars
Chris Lattner [Fri, 3 Nov 2006 23:48:56 +0000 (23:48 +0000)]
remove dead/redundant vars

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

18 years agoremove redundant/dead vars
Chris Lattner [Fri, 3 Nov 2006 23:47:20 +0000 (23:47 +0000)]
remove redundant/dead vars

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

18 years agoremove dead vars
Chris Lattner [Fri, 3 Nov 2006 23:46:45 +0000 (23:46 +0000)]
remove dead vars

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

18 years agoeliminate need for the NumMIOperands field in Operand.
Chris Lattner [Fri, 3 Nov 2006 23:45:17 +0000 (23:45 +0000)]
eliminate need for the NumMIOperands field in Operand.

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

18 years agoThe wrong parameter was being tested to deturmine i32 vs i64
Andrew Lenharth [Fri, 3 Nov 2006 22:45:50 +0000 (22:45 +0000)]
The wrong parameter was being tested to deturmine i32 vs i64

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

18 years agoadd a regression for memmove
Andrew Lenharth [Fri, 3 Nov 2006 22:45:09 +0000 (22:45 +0000)]
add a regression for memmove

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

18 years agoadd a note
Chris Lattner [Fri, 3 Nov 2006 22:27:39 +0000 (22:27 +0000)]
add a note

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

18 years agothis started failing due to Reid's changes in the bc format. insulate it
Chris Lattner [Fri, 3 Nov 2006 22:01:15 +0000 (22:01 +0000)]
this started failing due to Reid's changes in the bc format.  insulate it
from future changes.

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

18 years agoFix BasicAA/2006-11-03-BasicAAVectorCrash.ll by handling out-of-range
Chris Lattner [Fri, 3 Nov 2006 21:58:48 +0000 (21:58 +0000)]
Fix BasicAA/2006-11-03-BasicAAVectorCrash.ll by handling out-of-range
vector accesses like we handle out-of-range array accesses.

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

18 years agonew testcase
Chris Lattner [Fri, 3 Nov 2006 21:58:14 +0000 (21:58 +0000)]
new testcase

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

18 years agoMake the huge_val test run a C++ program not C
Reid Spencer [Fri, 3 Nov 2006 19:49:16 +0000 (19:49 +0000)]
Make the huge_val test run a C++ program not C

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

18 years agothis will work better
Chris Lattner [Fri, 3 Nov 2006 19:15:55 +0000 (19:15 +0000)]
this will work better

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

18 years agoFix the build on xcode < 2.4
Chris Lattner [Fri, 3 Nov 2006 19:13:59 +0000 (19:13 +0000)]
Fix the build on xcode < 2.4

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

18 years agoAdd a check to see if HUGE_VAL is sane or not.
Reid Spencer [Fri, 3 Nov 2006 18:04:08 +0000 (18:04 +0000)]
Add a check to see if HUGE_VAL is sane or not.

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

18 years agoSplit the External and Intrinsic handling into seperate functions. This
Andrew Lenharth [Fri, 3 Nov 2006 17:43:19 +0000 (17:43 +0000)]
Split the External and Intrinsic handling into seperate functions.  This
improves readability of the call handling code significantly, as well as
makes it clear which parts are hacky (externals) and which parts are good
(call handling).

No functionality change.

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

18 years agoFix comments.
Evan Cheng [Fri, 3 Nov 2006 07:31:32 +0000 (07:31 +0000)]
Fix comments.

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

18 years agoRename
Evan Cheng [Fri, 3 Nov 2006 07:21:16 +0000 (07:21 +0000)]
Rename

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

18 years agoRemove dead variable. Fix 80 column violations.
Reid Spencer [Fri, 3 Nov 2006 03:30:34 +0000 (03:30 +0000)]
Remove dead variable. Fix 80 column violations.

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

18 years agorevert previous patch
Rafael Espindola [Fri, 3 Nov 2006 03:08:28 +0000 (03:08 +0000)]
revert previous patch

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

18 years agoAdded DAG combiner transformation to generate pre-indexed loads.
Evan Cheng [Fri, 3 Nov 2006 03:06:21 +0000 (03:06 +0000)]
Added DAG combiner transformation to generate pre-indexed loads.

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

18 years agoAdded isPredecessor.
Evan Cheng [Fri, 3 Nov 2006 03:05:24 +0000 (03:05 +0000)]
Added isPredecessor.

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

18 years agoProper check for two-addressness.
Evan Cheng [Fri, 3 Nov 2006 03:04:46 +0000 (03:04 +0000)]
Proper check for two-addressness.

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

18 years agoAdded a target specific hook to check whether / how a node can be transformed
Evan Cheng [Fri, 3 Nov 2006 03:04:06 +0000 (03:04 +0000)]
Added a target specific hook to check whether / how a node can be transformed
into a pair of base / offset nodes for pre-indexed load / store ops.

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

18 years agoAdd isPredecessor to check whether a node is another's predecessor.
Evan Cheng [Fri, 3 Nov 2006 03:02:18 +0000 (03:02 +0000)]
Add isPredecessor to check whether a node is another's predecessor.

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

18 years agoDead code.
Evan Cheng [Fri, 3 Nov 2006 02:08:41 +0000 (02:08 +0000)]
Dead code.

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

18 years agoRemove unused variable.
Reid Spencer [Fri, 3 Nov 2006 01:58:30 +0000 (01:58 +0000)]
Remove unused variable.

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

18 years agoRemove an unused variable.
Reid Spencer [Fri, 3 Nov 2006 01:48:30 +0000 (01:48 +0000)]
Remove an unused variable.

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

18 years agosilence warning
Chris Lattner [Fri, 3 Nov 2006 01:45:13 +0000 (01:45 +0000)]
silence warning

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

18 years agoRemove some dead code.
Reid Spencer [Fri, 3 Nov 2006 01:44:51 +0000 (01:44 +0000)]
Remove some dead code.

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

18 years agoadd createCFGSimplificationPass to ARMTargetMachine::addInstSelector
Rafael Espindola [Fri, 3 Nov 2006 01:39:25 +0000 (01:39 +0000)]
add createCFGSimplificationPass to ARMTargetMachine::addInstSelector

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

18 years agoassert.h -> cassert
Rafael Espindola [Fri, 3 Nov 2006 01:38:14 +0000 (01:38 +0000)]
assert.h -> cassert

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

18 years agoremove dead code
Chris Lattner [Fri, 3 Nov 2006 01:34:58 +0000 (01:34 +0000)]
remove dead code

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

18 years agosilence warning
Chris Lattner [Fri, 3 Nov 2006 01:28:29 +0000 (01:28 +0000)]
silence warning

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

18 years agoDon't write out variables that are never used.
Reid Spencer [Fri, 3 Nov 2006 01:28:12 +0000 (01:28 +0000)]
Don't write out variables that are never used.

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

18 years agosilence warning
Chris Lattner [Fri, 3 Nov 2006 01:19:31 +0000 (01:19 +0000)]
silence warning

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

18 years agosilence warnings.
Chris Lattner [Fri, 3 Nov 2006 01:18:29 +0000 (01:18 +0000)]
silence warnings.

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