Brian Gaeke [Mon, 10 Nov 2003 00:05:26 +0000 (00:05 +0000)]
Operand numbers are now ints. Save the register allocation of the value
each instruction produces as "operand" -1, and the other operands as 0
.. n, as before. PhyRegAlloc::saveState() is refactored into
PhyRegAlloc::saveStateForValue().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9842
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sun, 9 Nov 2003 21:36:19 +0000 (21:36 +0000)]
If the source tree's Makefile is more up-to-date, copy it over into the build
tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9836
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 19:55:09 +0000 (19:55 +0000)]
Give gccld more guts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9835
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 19:54:30 +0000 (19:54 +0000)]
More additions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9834
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 19:44:07 +0000 (19:44 +0000)]
Bugz bugz bugz
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9833
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 19:39:48 +0000 (19:39 +0000)]
Fix PR95. I'm checking this patch in for Reid Spencer, who figured it out
and wrote it up. Thanks!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9832
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 15:51:07 +0000 (15:51 +0000)]
Add an assertion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9831
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 9 Nov 2003 07:08:34 +0000 (07:08 +0000)]
Fix PR103
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9830
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 07:05:02 +0000 (07:05 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9829
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 05:05:36 +0000 (05:05 +0000)]
Do NOT inline self recursive calls into other functions. This is causing the
pool allocator no end of trouble, and doesn't make a lot of sense anyway. This
does not solve the problem with mutually recursive functions, but they are much less common.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 05:04:25 +0000 (05:04 +0000)]
Untypo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9827
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 04:10:41 +0000 (04:10 +0000)]
Add more functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9826
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 04:00:59 +0000 (04:00 +0000)]
None of the __llvm_* functions call into the program. This makes the
callgraph MUCH simpler for eh using program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9825
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 03:32:52 +0000 (03:32 +0000)]
Add support for memmove
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9824
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sun, 9 Nov 2003 03:15:40 +0000 (03:15 +0000)]
Remove #include of PassManager.h which was marked FIXME, and apparently is no
longer used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9823
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 00:29:51 +0000 (00:29 +0000)]
Totally disable assert, in order to fix PR101
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9818
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 9 Nov 2003 00:23:05 +0000 (00:23 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9817
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 23:00:49 +0000 (23:00 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9815
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 21:55:50 +0000 (21:55 +0000)]
Handle bzero and memset in the local analysis, because we were missing the fact
that memset returns its argument!!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9811
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 21:23:06 +0000 (21:23 +0000)]
Fix broken makefile dependency generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9810
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 21:17:37 +0000 (21:17 +0000)]
This doesn't use DSCallSiteIterator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9809
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 20:48:39 +0000 (20:48 +0000)]
* Add units to the yaxis of each chart
* Add charts to the nightly test report
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9808
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 20:33:04 +0000 (20:33 +0000)]
Since we are collecting all of this data, we might as well graph it!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9807
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 8 Nov 2003 18:12:24 +0000 (18:12 +0000)]
Fix two typos I found in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9806
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 05:22:09 +0000 (05:22 +0000)]
Update the portability section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9803
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 05:18:50 +0000 (05:18 +0000)]
sjlj bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9802
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 05:13:40 +0000 (05:13 +0000)]
Fix wierd problems linking C programs which look for symbols in libstdc++.
This was due to the 'assert' macro expanding into a function call on some
platforms which could throw. The C++ compiler then added checks for the
exception specifications in these functions, which pulled in the C++ runtime.
This was bad, and the assertions can never fire (the library is now debugged)
so just remove them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9801
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 8 Nov 2003 04:28:55 +0000 (04:28 +0000)]
Add news from brian
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9800
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sat, 8 Nov 2003 01:05:38 +0000 (01:05 +0000)]
First pass at cleaning up LangRef.html: stylesheet-ification, consistent
formatting, more strict adherence to HTML 4.01, other misc. cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9799
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sat, 8 Nov 2003 00:01:39 +0000 (00:01 +0000)]
For some reason, LICM and GCSE like to crash the FunctionPassManager when they
are being added as FunctionPasses... Sigh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9798
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Nov 2003 23:20:56 +0000 (23:20 +0000)]
Provide a specialization of _Alloc_traits, which allows the G++ runtime to avoid
storing an instance of the allocator in each data structure it uses. Yaay.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9795
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 21:20:47 +0000 (21:20 +0000)]
Implement vaarg instruction. This is not quite perfect: 2003-08-11-VaListArg
still causes a crash. But it's better than before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9794
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 21:07:30 +0000 (21:07 +0000)]
Implement branching to a PC-relative constant (not a BasicBlock).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9793
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 20:44:58 +0000 (20:44 +0000)]
popStackAndReturnValueToCaller() must advance instruction pointer to normal
destination, if returning from an invoke.
Implement 'unwind' instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9792
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 20:33:25 +0000 (20:33 +0000)]
PreSelection is not optional, it performs a necessary and vital transformation
for the Sparc backend: breaking up constant expressions. Thus, we cannot have it
guarded by a conditional, it should never be disabled.
Also, it's now available for the JIT since it is a FunctionPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9791
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 20:32:08 +0000 (20:32 +0000)]
Remove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9790
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 20:07:06 +0000 (20:07 +0000)]
Add stub version of unwind support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9789
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 20:04:22 +0000 (20:04 +0000)]
visitCallInst --> visitCallSite.
Use visitCallSite to implement both CallInsts and InvokeInsts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9788
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 19:59:08 +0000 (19:59 +0000)]
Make the operation of visitCallInst() only depend on the CallSite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9787
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 19:43:14 +0000 (19:43 +0000)]
Completely hacked apart the file and put it back together using stylesheets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9786
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 19:42:44 +0000 (19:42 +0000)]
Actually have a target "#introduction" if we're making a link to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9785
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 19:26:23 +0000 (19:26 +0000)]
Use CallSites for call sites, instead of CallInsts. A revolutionary concept.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9784
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 19:25:45 +0000 (19:25 +0000)]
Mention class CallSite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9783
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 19:25:22 +0000 (19:25 +0000)]
Add a warning about not "new"ing or "delete"ing CallSites
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9782
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 18:56:32 +0000 (18:56 +0000)]
Added ability to register FunctionPasses as optimizations, with
TargetMachine-accepting constructors (thanks to Chris).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9781
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 18:11:14 +0000 (18:11 +0000)]
Make the page footer consistent with the rest of the site.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9779
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 18:06:26 +0000 (18:06 +0000)]
Switch to emitting MachineConstantPool the way it was meant to be done.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9777
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:45:28 +0000 (17:45 +0000)]
Switch to using the standard representation of the constant pool -- namely, the
MachineConstantPool. This involved refactoring the two classes involved in
printing out Sparc assembly. In fact, they should share all this code anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9776
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:44:18 +0000 (17:44 +0000)]
We accept TargetMachine as a const reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9775
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:43:43 +0000 (17:43 +0000)]
PreSelection and PeepholeOpts are now FunctionPasses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9774
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:31:22 +0000 (17:31 +0000)]
* Stop making a global for each constant that cannot live in an instruction;
it will be converted to a MachineConstantPool index during instruction
selection
* This is now eligible to become a FunctionPass since it does not have any side
effects outside of the function it is processing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9773
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:29:48 +0000 (17:29 +0000)]
* Use the MachineConstantPool for storing constants instead of a hash_set;
* Do not create new globals for constants!
Also, order #includes as per coding style guide
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9772
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:26:27 +0000 (17:26 +0000)]
Use `basename $<` to get just the filename, not full path, for ease of reading.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9770
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:20:18 +0000 (17:20 +0000)]
Declare FunctionPasses as such so that they can be used in FunctionPassManager.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9768
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 7 Nov 2003 17:19:39 +0000 (17:19 +0000)]
Declare FunctionPasses as such.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9767
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Nov 2003 15:20:06 +0000 (15:20 +0000)]
Add some ctors for this allocator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9766
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 7 Nov 2003 05:22:49 +0000 (05:22 +0000)]
Refactor the return-from-function code into popStackAndReturnValueToCaller().
Make external function calls slightly less special; now they get a stack frame.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9765
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Nov 2003 04:46:56 +0000 (04:46 +0000)]
Add bugz
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9764
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Nov 2003 04:39:53 +0000 (04:39 +0000)]
Fix a really bad build problem for users who have .o in their build directory!
Thanks to Reid Spencer for figuring this out! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9763
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Nov 2003 00:38:09 +0000 (00:38 +0000)]
Hopefully this will fix PR98
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9762
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 7 Nov 2003 00:34:33 +0000 (00:34 +0000)]
Hopefully fix the objdir != srcdir issue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9761
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 6 Nov 2003 21:55:44 +0000 (21:55 +0000)]
* Added a "contents"-like list of questions at the beginning of the file
* Use stylsheets. Really, people, work with me here.
* Stop using those silly <dl> and <dt> and whatever else tags
* Close tags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9760
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 21:30:15 +0000 (21:30 +0000)]
fix warnings on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9759
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 21:30:05 +0000 (21:30 +0000)]
Fix warnings building on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9758
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 6 Nov 2003 21:13:45 +0000 (21:13 +0000)]
All 'llvmgcc' tests should specify %llvmgcc so that the path is passed
in by qmtest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9757
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 20:51:45 +0000 (20:51 +0000)]
No wonder noone can set up LLVMGCCDIR correctly!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9756
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 20:29:33 +0000 (20:29 +0000)]
Add new commandline option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9755
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 20:29:25 +0000 (20:29 +0000)]
Add new command line option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9754
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 19:46:29 +0000 (19:46 +0000)]
Various cleanups and efficiency improvements
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9753
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 6 Nov 2003 19:18:49 +0000 (19:18 +0000)]
Fix bug: PR93
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9752
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 6 Nov 2003 18:06:13 +0000 (18:06 +0000)]
* Make the comment header 80 columns long
* Alphabetize #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9751
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 6 Nov 2003 00:04:11 +0000 (00:04 +0000)]
Let's not forget about our friends -- Constant Pool indices.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9750
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 5 Nov 2003 22:13:10 +0000 (22:13 +0000)]
Give this header file an Emacs mode-line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9749
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 5 Nov 2003 22:13:00 +0000 (22:13 +0000)]
Do not assume the first file is a bytecode file. Instead, construct a dummy
Module and link things into that.
Also, fix a typo in an error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9748
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 5 Nov 2003 22:12:52 +0000 (22:12 +0000)]
Shorten and correct some function-header comments.
Make "verbose" output MUCH nicer. Now it tells you when you are linking a
bytecode file, or an archive, and whether it's because you called it by name,
or because you gave it a -l option, and it says "Trying" before it takes
action and prints a message in the past tense afterwards.
Make LinkFiles not skip the first file in Files.
Make LinkFiles warn you if it can't find a file and LLVM_LIB_SEARCH_PATH is
unset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9747
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 22:06:03 +0000 (22:06 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9746
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 21:53:41 +0000 (21:53 +0000)]
Fix the problem with running cleanups in bugpoint: We were deleting arguments
of intrinsic functions, causing the verifier to fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9745
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 21:46:13 +0000 (21:46 +0000)]
Bugpoint no longer has this option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9744
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 21:45:35 +0000 (21:45 +0000)]
I hate it when bugpoint is all ready to give me a bytecode file, then crashes
in final cleanups. Then you had to run the whole mess again with
-disable-final-cleanups.
This makes bugpoint run the cleanups in a protected environment so that if
they crash, bugpoint itself doesn't crash. This makes things much happier,
implements a FIXME, and gets rid of YABPO (yet another bugpoint option).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9743
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 21:43:42 +0000 (21:43 +0000)]
Split the DAE pass into DAE and DAH passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9742
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 21:43:02 +0000 (21:43 +0000)]
Split behavior into two pieces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9741
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 21:15:19 +0000 (21:15 +0000)]
Simplify the performFinalCleanups interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9740
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 20:43:58 +0000 (20:43 +0000)]
Yet more fixes for constant expr shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9739
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 20:37:01 +0000 (20:37 +0000)]
Further fixes for PR93
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9738
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 5 Nov 2003 20:25:33 +0000 (20:25 +0000)]
A few handy methods that seem to mesh well with what CallSite already provides.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9737
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 19:53:32 +0000 (19:53 +0000)]
no need for endl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9736
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 19:53:03 +0000 (19:53 +0000)]
Add support for constant expr shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9735
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 5 Nov 2003 19:48:05 +0000 (19:48 +0000)]
Since this function returns an int, let's actually return something.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9734
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 19:43:36 +0000 (19:43 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9733
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 19:09:40 +0000 (19:09 +0000)]
If we're not checking, don't check!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9732
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 17:31:36 +0000 (17:31 +0000)]
Fix flawed logic that was breaking several SPEC benchmarks, including gzip and crafty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9731
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 5 Nov 2003 06:43:36 +0000 (06:43 +0000)]
We know exactly what the value of $< is, so instead of using `basename $<` to
get just the filename and not the full path, just use the filename directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9730
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 5 Nov 2003 06:41:14 +0000 (06:41 +0000)]
Output only the .y filename, not the full path to it for ease of reading.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 06:30:04 +0000 (06:30 +0000)]
Add three more bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9728
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 06:25:06 +0000 (06:25 +0000)]
Do not use a class before it is defined.
Be gcc 3.4 clean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9727
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 06:20:27 +0000 (06:20 +0000)]
Be friendly to gcc 3.4... good compiler. Nice compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9726
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 06:12:18 +0000 (06:12 +0000)]
Be gcc 3.4 clean
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9725
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 06:05:21 +0000 (06:05 +0000)]
Make -r work, fixing PR 91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9724
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 5 Nov 2003 05:58:26 +0000 (05:58 +0000)]
Add std::pair tier. This is a much simplified version of boost::tie
that works only for std::pair.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9723
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 5 Nov 2003 05:55:45 +0000 (05:55 +0000)]
Fix name collision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9722
91177308-0d34-0410-b5e6-
96231b3b80d8