Chris Lattner
9dedbcc3d5
Don't have a cow with new pseudo instructions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6009 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 21:31:47 +00:00
Chris Lattner
eab49345cb
Add two new pseudo instructions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6008 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 21:31:31 +00:00
Chris Lattner
8bde96f9a2
Add a new open project
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6007 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 20:47:11 +00:00
Chris Lattner
7c87e407fc
New testcase distilled from the fhourstones benchmark
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6006 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 19:41:25 +00:00
Chris Lattner
fb46e3c58e
Make sure to compiel the LowerSwitch tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6005 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 19:04:02 +00:00
Chris Lattner
6a4e6341f2
Fix memory corruption problem
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6003 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 18:45:02 +00:00
Misha Brukman
15b55e20cc
Debug output should go to cerr, not cout, because that's where bytecode goes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6002 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-04 22:51:30 +00:00
Chris Lattner
c472d7c52a
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6001 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 18:55:29 +00:00
Chris Lattner
84e6665570
Fix bug: UnitTests/2003-05-02-DependantPHI.c
...
Fix testcase MultiSource/Ptrdist-ks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6000 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 07:11:00 +00:00
Chris Lattner
577385edd8
Fix miscompilation in Fhourstones and bug: LICM/2003-05-02-LoadHoist.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5994 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:42:08 +00:00
Chris Lattner
bc8e9c6f56
Fix miscompilation found in Fhourstones by bugpoint
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5993 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:39:35 +00:00
Misha Brukman
1d06fbe893
It's 'separate'. The 'i.e.' is kinda nit-picking, but think of it this way:
...
'separate' is the one causing you to recompile all your passes anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5992 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:31:06 +00:00
Chris Lattner
f479be58f5
Make a comment more accurate
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5991 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:20:36 +00:00
Chris Lattner
cc876a7421
Add support for debugging miscompilations with the use of the JIT or CBE!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5990 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:19:41 +00:00
Chris Lattner
fb74224662
Bugpoint is always verbose, eliminate option
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5989 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:18:41 +00:00
Chris Lattner
edd8ce1370
* Eliminate using decls
...
* Fix some styleistic things
* Fix bug: CWriter/2002-05-16-NameCollide.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5988 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:14:35 +00:00
Chris Lattner
25f088e223
Fix buggy tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5987 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:08:54 +00:00
Misha Brukman
48196b3813
The Hyphenation-Adding Committee is now in session.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5986 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 02:18:17 +00:00
Misha Brukman
c8b27318a3
The Grammar Police is out on patrol.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5985 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 02:16:43 +00:00
Chris Lattner
2d399096cf
Attempt to fix sumant's typesafety issue
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5984 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-02 19:32:04 +00:00
Chris Lattner
e96fda3002
Fix spelling
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5983 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-02 19:26:34 +00:00
Chris Lattner
b589bf7d77
Fix a bug which occurred with empty basic blocks
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5982 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-02 18:44:42 +00:00
Chris Lattner
590607b01c
Add an instcombine pass before levelraise
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5980 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-02 18:19:05 +00:00
Chris Lattner
20af3222da
Fix Bug: LowerSwitch/2003-05-01-PHIProblem.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5979 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 22:21:21 +00:00
Chris Lattner
3d73c706e1
Reduce testcase a bit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5978 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:38:57 +00:00
Chris Lattner
215f0b77c8
New testcase for the lowerswitch pass
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5977 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:27:24 +00:00
Chris Lattner
f98358efc7
Minor cleanup
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5976 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:18:47 +00:00
Chris Lattner
cdeb81d412
Fix bug: LevelRaise/2003-05-01-CallCast.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5975 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:02:53 +00:00
Chris Lattner
8d248c51e9
New testcase: do not "raise" a call that is not through a function pointer!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5974 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:02:35 +00:00
Chris Lattner
5ff7ef5396
Eliminate use of NonCopyable so that doxygen documentation doesn't link
...
the Annotation classes with the noncopyable classes for no reason
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5973 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 20:28:45 +00:00
Chris Lattner
3f2ec3925f
Fix another case where constexprs could cause a crash
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5972 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-30 22:34:06 +00:00
Chris Lattner
fe32e0c578
Fix constant folding of constexprs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5971 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-30 22:19:10 +00:00
Chris Lattner
99df25f9f1
Remove implemented project, add a new one
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5970 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-28 03:42:31 +00:00
Chris Lattner
68492725a0
Add a new option to disable stripping of bytecode files
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5969 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-28 03:28:56 +00:00
Chris Lattner
95549281ec
Create constant expression casts instead of constant instructions if possible
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5968 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-28 01:25:38 +00:00
Chris Lattner
1fd95afab3
Fix several bugs:
...
* Warnings were emitted all of the time and were really annoying
* Functions could not be resolved unless they had external linkage. Linkonce
linkage was not allowed
* ConstantPointerRef's were not handled when linking functions
we now actually handle cast (CPR) to X -> cast (NewCPR) to X
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5967 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-28 01:23:29 +00:00
Chris Lattner
b53a198613
Avoid naming things exactly the same
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5966 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-27 22:55:56 +00:00
Chris Lattner
ac0ec635e6
New testcase distilled from a problem identified by sumant
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5964 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 20:29:09 +00:00
Chris Lattner
10daaa1416
Remove two fields from TargetData which are target specific.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5963 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 20:11:09 +00:00
Chris Lattner
37ec811409
The promotion rules are the same for all targets, they are set by the C standard.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5962 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 19:47:36 +00:00
Chris Lattner
7a5adc3ac0
IntegerRegSize is always 8 for sparc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5961 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 19:44:35 +00:00
Chris Lattner
38f8c4520f
Switch insns actually DO work.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5960 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 19:36:06 +00:00
Chris Lattner
99224aec78
Fix bug: LoopPreheaders/2003-04-25-AssertFail.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5959 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 19:34:18 +00:00
Chris Lattner
aa709d065a
Add comment to testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5958 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 19:33:51 +00:00
Chris Lattner
91b5bbd47c
Whoever checked this testcase in apparently never tested it.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5957 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 17:44:17 +00:00
Chris Lattner
6ad5a31324
Revert last checkin. Note that PHI nodes can use basic blocks also!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5956 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 17:38:26 +00:00
Chris Lattner
90117cbb6f
Remove long-dead obsolete cruft
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5955 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 23:39:08 +00:00
Chris Lattner
d96f1eb5e0
New testcase that crashes preheaders
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5954 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 23:26:52 +00:00
Chris Lattner
02a78cf7ea
Fix a bug that occurred when removing the last predecessor INTO an
...
infinite loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 23:14:19 +00:00
Chris Lattner
619f825640
Fix bug: ADCE/2003-04-25-PHIPostDominateProblem.ll
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5952 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 22:53:27 +00:00