Bill Wendling
008e2e1e7f
Remove dead variable.
...
llvm-svn: 92180
2009-12-28 01:02:21 +00:00
Bill Wendling
8d5a69f960
Remove dead variable.
...
llvm-svn: 92179
2009-12-28 01:01:14 +00:00
Bill Wendling
091861587d
Remove dead variable.
...
llvm-svn: 92178
2009-12-28 01:00:12 +00:00
Daniel Dunbar
e7b673bbc4
lit: Add setuptools support.
...
llvm-svn: 92169
2009-12-26 22:58:39 +00:00
Daniel Dunbar
8dae6490fd
lit: Sink code into a 'lit' package.
...
llvm-svn: 92168
2009-12-26 22:58:23 +00:00
Eli Friedman
3a53d1cb1a
PR5886: Make sure IMUL32m is marked as setting EFLAGS, so scheduling doesn't
...
do illegal stuff around it. No testcase because the issue is very fragile.
llvm-svn: 92167
2009-12-26 20:08:30 +00:00
Bill Wendling
c49babee26
Avoid assigning to Changed when it won't be used after the return.
...
llvm-svn: 92160
2009-12-25 13:50:18 +00:00
Bill Wendling
f3d0708729
Remove dead store.
...
llvm-svn: 92159
2009-12-25 13:45:50 +00:00
Bill Wendling
8273efdd31
Remove dead store from copy-pasto.
...
llvm-svn: 92158
2009-12-25 13:44:36 +00:00
Bill Wendling
736d9ee6b8
Remove dead store.
...
llvm-svn: 92157
2009-12-25 13:39:58 +00:00
Bill Wendling
32e19f65c4
Remove dead store.
...
llvm-svn: 92156
2009-12-25 13:37:27 +00:00
Bill Wendling
318224b8f1
Use the 'MadeChange' variable instead of returning 'false' all of the time.
...
llvm-svn: 92155
2009-12-25 13:35:40 +00:00
John McCall
75f1b8beeb
Implement support for converting to string at "natural precision", and fix some
...
major bugs in long-precision conversion.
llvm-svn: 92150
2009-12-24 23:18:09 +00:00
Douglas Gregor
1dafbbc020
Move the two definitions of operator<< into namespace llvm, so they
...
will be found by argument-dependent lookup. As with the previous
commit, GCC is allowing ill-formed code.
llvm-svn: 92146
2009-12-24 21:15:37 +00:00
Douglas Gregor
a31d6d49b0
Define the new operator<< for sets into namespace std, so that
...
argument-dependent lookup can find it. This is another case where an
LLVM bug (not making operator<< visible) was masked by a GCC bug
(looking in the global namespace when it shouldn't).
llvm-svn: 92144
2009-12-24 21:11:45 +00:00
Daniel Dunbar
cb80704195
Don't emit trailing semicolon.
...
llvm-svn: 92133
2009-12-24 17:49:28 +00:00
John McCall
c6cdebbedd
Substantially optimize APFloat::toString() by doing a single large divide to
...
cut the significand down to the desired precision *before* entering the
core divmod loop. Makes the overall algorithm logarithmic in the exponent.
There's still a lot of room for improvement here, but this gets the
performance back down to acceptable-for-diagnostics levels, even for
long doubles.
negligible, even on long doubles.
llvm-svn: 92130
2009-12-24 12:16:56 +00:00
John McCall
c71c44ec7f
Add accessors for the largest-magnitude, smallest-magnitude, and
...
smallest-normalized-magnitude values in a given FP semantics.
Provide an APFloat-to-string conversion which I am quite ready to admit could
be much more efficient.
llvm-svn: 92126
2009-12-24 08:56:26 +00:00
John McCall
dad4e2e4e5
Set Remainder before Quotient in case Quotient and LHS alias. The new
...
order should be immune to such problems.
llvm-svn: 92124
2009-12-24 08:52:06 +00:00
Dale Johannesen
a62752a06e
Testcase for llvm-gcc checkin 92108.
...
llvm-svn: 92110
2009-12-24 01:10:43 +00:00
Chris Lattner
4e96d36f72
handle equality memcmp of 8 bytes on x86-64 with two unaligned loads and a
...
compare. On other targets we end up with a call to memcmp because we don't
want 16 individual byte loads. We should be able to use movups as well, but
we're failing to select the generated icmp.
llvm-svn: 92107
2009-12-24 01:07:17 +00:00
David Greene
12d565aa89
Change errs() to dbgs().
...
llvm-svn: 92099
2009-12-24 00:39:02 +00:00
Chris Lattner
5d3919d5f9
move an optimization for memcmp out of simplifylibcalls and into
...
SDISel. This optimization was causing simplifylibcalls to
introduce type-unsafe nastiness. This is the first step, I'll be
expanding the memcmp optimizations shortly, covering things that
we really really wouldn't want simplifylibcalls to do.
llvm-svn: 92098
2009-12-24 00:37:38 +00:00
David Greene
48aa5efa78
Change errs() to dbgs().
...
llvm-svn: 92097
2009-12-24 00:34:21 +00:00
David Greene
42be8783c0
Change errs() to dbgs().
...
llvm-svn: 92096
2009-12-24 00:31:35 +00:00
David Greene
f215ecfc4d
Change errs() to dbgs().
...
llvm-svn: 92094
2009-12-24 00:27:55 +00:00
David Greene
d91c862004
Change errs() to dbgs().
...
llvm-svn: 92093
2009-12-24 00:14:25 +00:00
David Greene
7d1f350ec6
Change errs() to dbgs().
...
llvm-svn: 92092
2009-12-24 00:06:26 +00:00
David Greene
06d50ca292
Change errs() to dbgs().
...
llvm-svn: 92091
2009-12-23 23:47:53 +00:00
David Greene
82413e3a13
Change errs() to dbgs().
...
llvm-svn: 92088
2009-12-23 23:38:28 +00:00
David Greene
c0eced92e3
Change dbgs() back to errs() as Chris requested.
...
llvm-svn: 92086
2009-12-23 23:29:28 +00:00
David Greene
693db7a309
Change dbgs() back to errs() as Chris requested.
...
llvm-svn: 92085
2009-12-23 23:27:15 +00:00
Chris Lattner
7dbb93e430
reorder to follow a normal fall-through style, no functionality change.
...
llvm-svn: 92084
2009-12-23 23:24:51 +00:00
David Greene
9c8c8af11d
Clarify how dbgs() operates.
...
llvm-svn: 92083
2009-12-23 23:23:15 +00:00
David Greene
d411e1b728
Fix a comment.
...
llvm-svn: 92082
2009-12-23 23:19:43 +00:00
David Greene
0c06474821
Change dbgs() back to errs() for assert messages as Chris requested.
...
llvm-svn: 92081
2009-12-23 23:14:41 +00:00
David Greene
5980bb69ba
Change dbgs() back to errs() for assert messages as Chris requested.
...
llvm-svn: 92080
2009-12-23 23:09:39 +00:00
Chris Lattner
0f8308d48a
sizeof(char) is always 1.
...
llvm-svn: 92079
2009-12-23 23:03:24 +00:00
David Greene
b73d637eba
Change dbgs() back to errs() for assert messages as Chris requested.
...
llvm-svn: 92077
2009-12-23 23:00:50 +00:00
David Greene
f227aac0f4
Change dbgs() back to errs() for assert messages as Chris requested.
...
llvm-svn: 92076
2009-12-23 22:59:29 +00:00
David Greene
1b160211dd
Remove dump routine and the associated Debug.h from a header. Patch up
...
other files to compensate.
llvm-svn: 92075
2009-12-23 22:58:38 +00:00
David Greene
dafe3d88d6
Change dbgs() back to errs() as Chris requested.
...
llvm-svn: 92073
2009-12-23 22:49:57 +00:00
David Greene
02480b7d83
Convert debug messages to use dbgs(). Generally this means
...
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92071
2009-12-23 22:35:10 +00:00
David Greene
b348240e9c
Convert debug messages to use dbgs(). Generally this means
...
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92068
2009-12-23 22:28:01 +00:00
David Greene
62d4863b56
Convert debug messages to use dbgs(). Generally this means
...
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92067
2009-12-23 22:18:14 +00:00
David Greene
f2377def25
Convert debug messages to use dbgs(). Generally this means
...
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92066
2009-12-23 22:10:20 +00:00
David Greene
fc8ae247eb
Convert debug messages to use dbgs(). Generally this means
...
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92063
2009-12-23 21:58:29 +00:00
David Greene
4caa552456
Convert debug messages to use dbgs(). Generally this means
...
s/errs/dbgs/g except for certain special cases.
llvm-svn: 92060
2009-12-23 21:48:18 +00:00
Jakob Stoklund Olesen
e82ce92826
Move kill flags when the same register occurs more than once in a sequence.
...
llvm-svn: 92058
2009-12-23 21:34:03 +00:00
Jakob Stoklund Olesen
17a89f1f8a
Handle undef operands properly.
...
llvm-svn: 92054
2009-12-23 21:28:42 +00:00