Chris Lattner [Sat, 11 Dec 2004 17:00:14 +0000 (17:00 +0000)]
Only cound if we actually made a change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18800
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 16:59:54 +0000 (16:59 +0000)]
The split bb is really the exit of the old function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18799
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Dec 2004 07:16:54 +0000 (07:16 +0000)]
A little cleanup on this file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18798
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 06:10:52 +0000 (06:10 +0000)]
New feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18797
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 06:05:53 +0000 (06:05 +0000)]
Two bug fixes:
1. Actually increment the Statistic for the GV elim optzn
2. When resolving undef branches, only resolve branches in executable blocks,
avoiding marking a bunch of completely dead blocks live. This has a big
impact on the quality of the generated code.
With this patch, we positively rip up vortex, compiling Ut_MoveBytes to a
single memcpy call. In vortex we get this:
12 ipsccp - Number of globals found to be constant
986 ipsccp - Number of arguments constant propagated
1378 ipsccp - Number of basic blocks unreachable
8919 ipsccp - Number of instructions removed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18796
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 05:32:19 +0000 (05:32 +0000)]
Do not delete the entry block to a function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18795
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 11 Dec 2004 05:19:04 +0000 (05:19 +0000)]
Bools are *also* not ints. Sigh. Furthermore, most of the TargetMachine
ctor parameters can be defaulted.
Print the transformed llvm code input to the instruction selector
when -print-machineinstrs is on, just like V9.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18794
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 11 Dec 2004 05:19:03 +0000 (05:19 +0000)]
Look for many more moves to fold (previously, we only
*or g0, x add g0, x recognized * as a move)
or x, g0 add x, g0
or 0, x add 0, x
or x, 0 add x, 0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18793
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 11 Dec 2004 05:19:02 +0000 (05:19 +0000)]
Make GEPs not suck so much:
* Don't emit the Index * ElementSize multiply if Index is a constant.
* Use a shift, not a multiply, if ElementSize is 1/2/4/8.
* If ElementSize fits in the immediate field of SMUL, then put it there.
Fix a bug where struct offsets might be truncated (ConstantSInt::get is
now used instead of ConstantInt::get).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18792
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Sat, 11 Dec 2004 05:19:01 +0000 (05:19 +0000)]
Update lists of failing benchmarks, including info on which
ones are failing in cbe.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18791
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 05:15:59 +0000 (05:15 +0000)]
Implement Transforms/SCCP/ipsccp-gvar.ll, by tracking values stored to
non-address-taken global variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18790
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 05:14:55 +0000 (05:14 +0000)]
New testcase that ipsccp should handle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18789
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Dec 2004 05:12:57 +0000 (05:12 +0000)]
Fix some minor spellos and grammaros.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18788
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Dec 2004 03:03:54 +0000 (03:03 +0000)]
Revert the last patch. We really do need SimplyCFG.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18787
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 11 Dec 2004 02:53:57 +0000 (02:53 +0000)]
Fix a bug where we could delete dead invoke instructions with uses.
In functions where we fully constant prop the return value, replace all
ret instructions with 'ret undef'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18786
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 11 Dec 2004 00:14:15 +0000 (00:14 +0000)]
Path::get -> Path::toString
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18785
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 10 Dec 2004 22:55:35 +0000 (22:55 +0000)]
Remove this pass as its no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18783
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 22:30:32 +0000 (22:30 +0000)]
This pass is no longer needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18782
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 22:29:08 +0000 (22:29 +0000)]
Implement SCCP/ipsccp-conditional.ll, by totally deleting dead blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18781
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 22:28:49 +0000 (22:28 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18780
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 10 Dec 2004 21:59:47 +0000 (21:59 +0000)]
Get rid of warning from flex.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18779
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 20:41:50 +0000 (20:41 +0000)]
Fix SCCP/2004-12-10-UndefBranchBug.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18776
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 20:35:47 +0000 (20:35 +0000)]
Add missing accessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18775
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 20:26:15 +0000 (20:26 +0000)]
Make sure to link the target-triple as well, so it ends up in the .llvm.bc file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18774
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 20:10:23 +0000 (20:10 +0000)]
New testcase that SCCP miscompiles. Luckily this is extremely unlikely to
happen in practice, but IP-SCCP can trigger it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18773
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 10 Dec 2004 19:44:16 +0000 (19:44 +0000)]
Fix output for Flexing to not print full path of source.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18769
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 17:43:43 +0000 (17:43 +0000)]
Check in the right test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18767
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 17:42:31 +0000 (17:42 +0000)]
Fix Regression/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll,
and the failure on make_dparser last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18766
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 17:41:43 +0000 (17:41 +0000)]
New testcase for a bug exposed by the ipsccp pass, causing dparser to fail
last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18765
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 16:27:34 +0000 (16:27 +0000)]
Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18764
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 10 Dec 2004 15:51:16 +0000 (15:51 +0000)]
Merged in RELEASE_14 changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18763
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 08:39:30 +0000 (08:39 +0000)]
Move -lowerselect later in the chain; some select instructions were
slipping through into the instruction selector, which can't deal with
them yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18758
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 08:39:29 +0000 (08:39 +0000)]
Add the rest of the multiply instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18757
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 08:39:28 +0000 (08:39 +0000)]
Support binary operations with immediates for <= cInt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18756
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 08:39:27 +0000 (08:39 +0000)]
Update lists of failing benchmarks (except C++...something is the
matter with my sparcv8 libstdc++.a) and to-do list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18755
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 08:03:43 +0000 (08:03 +0000)]
Turn on ipsccp by default instead of simple IPCP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18753
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 08:02:06 +0000 (08:02 +0000)]
This is the initial implementation of IPSCCP, as requested by Brian.
This implements SCCP/ipsccp-basic.ll, rips apart Olden/mst (as described in
PR415), and does other nice things.
There is still more to come with this, but it's a start.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18752
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 07:55:01 +0000 (07:55 +0000)]
New prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18751
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 07:54:51 +0000 (07:54 +0000)]
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18750
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 05:44:45 +0000 (05:44 +0000)]
Emit correct prototype for __builtin_alloca on V8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18745
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Fri, 10 Dec 2004 05:41:10 +0000 (05:41 +0000)]
Fix writer to properly quote label names when they don't contain
simple characters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18744
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Fri, 10 Dec 2004 05:40:19 +0000 (05:40 +0000)]
Do not allow empty label names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18743
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Fri, 10 Dec 2004 05:39:57 +0000 (05:39 +0000)]
Update testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18742
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 05:27:29 +0000 (05:27 +0000)]
Implement test/Feature/escaped_label.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18741
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 10 Dec 2004 05:27:14 +0000 (05:27 +0000)]
Simple testcase for quoted label.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18740
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 05:04:13 +0000 (05:04 +0000)]
Link V8 backend into llc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18739
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 04:54:21 +0000 (04:54 +0000)]
Add SparcV8 target back into the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18738
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 04:48:57 +0000 (04:48 +0000)]
Adjust paths: Sparc/V8 --> SparcV8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18737
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 04:46:30 +0000 (04:46 +0000)]
Make this file self-contained.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18736
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 04:42:46 +0000 (04:42 +0000)]
Update list of failing MultiSource benchmarks. It works out to +5 -5, but I
think some of these might be the CFE's fault; a rebuild should come soon.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18735
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 10 Dec 2004 04:42:45 +0000 (04:42 +0000)]
When FpMOVDs appeared in pairs, we were mistakenly skipping over the latter of
each pair. I think this fixes that.
One of these days, I swear I'm going to get the hang of C++ iterators.
Really.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18734
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Dec 2004 23:28:09 +0000 (23:28 +0000)]
Missed moving bugpoint link over to CommandGuide/html/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18732
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Dec 2004 23:25:59 +0000 (23:25 +0000)]
Generated HTML documentation is now back in CommandGuide/html/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18731
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 22:22:58 +0000 (22:22 +0000)]
Rip out the guts of this document to prepare it for LLVM 1.5 progress
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18726
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 21:16:40 +0000 (21:16 +0000)]
Clean up this man page
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18724
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 21:06:32 +0000 (21:06 +0000)]
Add new pseudo target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18723
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Dec 2004 20:28:42 +0000 (20:28 +0000)]
The textual description is gone from this manpage, only the options and a quick
summary remain. The manpage references Bugpoint.html as the repository for more
detailed info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18722
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Dec 2004 20:27:37 +0000 (20:27 +0000)]
* Straighten a comment to a single line
* Block off the section correctly with <!-- ***** -->
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18721
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Dec 2004 20:26:53 +0000 (20:26 +0000)]
We now have a real Bugpoint doc, not just a huge man page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18720
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Thu, 9 Dec 2004 20:26:20 +0000 (20:26 +0000)]
Convert from being a copy of the man page to a full-fledged document.
This doc keeps all the descriptive info from the man page, but not the options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18719
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 9 Dec 2004 18:54:31 +0000 (18:54 +0000)]
We're continuing to make progress on MultiSource.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18714
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 9 Dec 2004 18:51:02 +0000 (18:51 +0000)]
Bytes and shorts are aligned differently from words.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18713
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 9 Dec 2004 18:51:01 +0000 (18:51 +0000)]
Fix asm-printing directives (how did we not see this before...apparently,
everything was an int!)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18712
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 9 Dec 2004 18:13:12 +0000 (18:13 +0000)]
More grammaro's fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18708
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 9 Dec 2004 18:02:53 +0000 (18:02 +0000)]
Clean up some grammaro's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18705
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 9 Dec 2004 17:55:37 +0000 (17:55 +0000)]
Correct the version numbers for automake, Perl, and CVS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18703
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 17:30:23 +0000 (17:30 +0000)]
Fully document the LLVM constants. This should go into LLVM 1.4
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18701
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 16:36:40 +0000 (16:36 +0000)]
Reflow and clean up some of the HTML in the initial section, split linkage
types into its own section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18697
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 16:11:40 +0000 (16:11 +0000)]
Move the "High Level Structure" to before "Type System"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18695
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 9 Dec 2004 07:43:06 +0000 (07:43 +0000)]
More QMTest cruft gone!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18694
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 07:15:52 +0000 (07:15 +0000)]
note to self: Do not check in debugging code!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18693
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 07:14:34 +0000 (07:14 +0000)]
Implement trivial sinking for load instructions. This causes us to sink 567 loads in spec
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18692
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 06:19:44 +0000 (06:19 +0000)]
Remove a dead field, make the map go to integer type ID to hash better and
avoid a getType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18691
91177308-0d34-0410-b5e6-
96231b3b80d8
Jeff Cohen [Thu, 9 Dec 2004 05:51:11 +0000 (05:51 +0000)]
Fix residual Visual Studio build problems
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18688
91177308-0d34-0410-b5e6-
96231b3b80d8
Test Commit [Thu, 9 Dec 2004 05:46:48 +0000 (05:46 +0000)]
Test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18687
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 04:53:17 +0000 (04:53 +0000)]
Remove #include inadvertently added
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18686
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 9 Dec 2004 04:51:50 +0000 (04:51 +0000)]
Eliminate this ugly hack. This was put back in when replaceAllUsesOf used
a different algorithm that was extremely inefficient for instructions with
many operands.
This reduces the time of this code snippet from .23s for 176.gcc to 0.03s
in a debug build, which speeds up total llvm-dis time just barely.
It's more of a code cleanup than a speedup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18685
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Dec 2004 23:56:15 +0000 (23:56 +0000)]
Add testcase and fix for yet another case where we query the size an
abstract type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18678
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 23:43:58 +0000 (23:43 +0000)]
Do extremely simple sinking of instructions when they are only used in a
successor block. This turns cases like this:
x = a op b
if (c) {
use x
}
into:
if (c) {
x = a op b
use x
}
This triggers 3965 times in spec, and is tested by
Regression/Transforms/InstCombine/sink_instruction.ll
This appears to expose a bug in the X86 backend for 177.mesa, which I'm
looking in to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18677
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Dec 2004 23:42:11 +0000 (23:42 +0000)]
Add testcase and fix for another case where we query the size an
abstract type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18676
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 23:41:16 +0000 (23:41 +0000)]
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18675
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Dec 2004 23:10:30 +0000 (23:10 +0000)]
Fix this regression and remove the XFAIL from this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18674
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 8 Dec 2004 23:07:27 +0000 (23:07 +0000)]
Remove last remnants of Python/QMTest support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18672
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 8 Dec 2004 22:58:34 +0000 (22:58 +0000)]
Implement the LLVM_DO_NOT_BUILD feature. If a file of that name is
present in a directory that LLVM normally builds, it will skip building
the directory entirely. This is useful for allowing a bunch of projects to
live in the source tree but not be compiled from time to time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18671
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 22:20:34 +0000 (22:20 +0000)]
Fix Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18670
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 22:18:35 +0000 (22:18 +0000)]
This testcase causes the instruction combiner to go spiraling into
an infinite loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18669
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 21:04:10 +0000 (21:04 +0000)]
Move method out of line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18666
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 21:03:56 +0000 (21:03 +0000)]
Move method out of line for better ICC support
Add some ifdefs for some stuff I like to be able to toggle easily
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18665
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 21:00:59 +0000 (21:00 +0000)]
Properly extern this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18664
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 20:59:18 +0000 (20:59 +0000)]
Define the pointer hash struct before the string one, to improve compatibility
with ICC. Patch contributed by Bjørn Wennberg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18663
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 8 Dec 2004 20:35:47 +0000 (20:35 +0000)]
The noreturn GCC extension is now supported.
Fixed some minor typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18658
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 20:01:10 +0000 (20:01 +0000)]
Turn this error back into a warning, fixing the povray regression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18655
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 19:05:44 +0000 (19:05 +0000)]
Test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18654
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 8 Dec 2004 19:01:01 +0000 (19:01 +0000)]
Build the man and ps versions of the command guide as well when
BUILD_FOR_WEBSITE is set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18653
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 8 Dec 2004 19:00:45 +0000 (19:00 +0000)]
ignore generated file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18652
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Wed, 8 Dec 2004 18:43:39 +0000 (18:43 +0000)]
Mark this as an XFAIL until a fix is worked out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18651
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Wed, 8 Dec 2004 18:34:56 +0000 (18:34 +0000)]
Fixed broken link to Bruce Eckle's book.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18650
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Wed, 8 Dec 2004 18:29:38 +0000 (18:29 +0000)]
Fixed a broken link to gcc manual.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18649
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Wed, 8 Dec 2004 18:25:34 +0000 (18:25 +0000)]
Fixed broken link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18648
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Wed, 8 Dec 2004 18:13:51 +0000 (18:13 +0000)]
Fixed broken links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18647
91177308-0d34-0410-b5e6-
96231b3b80d8