Duraid Madina
24cdf575e7
fix storing bools to mem and unordered FP ops
...
llvm-svn: 31920
2006-11-26 04:34:26 +00:00
Reid Spencer
aa5c220665
Make the absolute/relative tolerance information easier to read/understand.
...
llvm-svn: 31908
2006-11-25 08:38:44 +00:00
Reid Spencer
6968c497de
Add newline at end of file.
...
llvm-svn: 31902
2006-11-25 05:41:02 +00:00
Reid Spencer
6984a15600
Only show the first few lines of difference.
...
llvm-svn: 31901
2006-11-25 04:07:06 +00:00
Reid Spencer
17782030cf
Add an option to enable lli (interpreter mode) testing.
...
llvm-svn: 31899
2006-11-24 20:34:16 +00:00
Reid Spencer
3c3324c7fa
Fix some typos.
...
llvm-svn: 31897
2006-11-23 16:45:52 +00:00
Reid Spencer
0e43e15fc9
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
...
older features will be dropped soon and these test cases must not rely
on the upgrade capability.
llvm-svn: 31896
2006-11-23 15:14:52 +00:00
Nick Lewycky
09b7e4d3ab
Update to new predicate simplifier VRP design. Fixes PR966 and PR967.
...
Remove predicate simplifier from default gcc3 pipeline. New design is too
slow to enable by default.
Add new testcases for problems encountered in development.
llvm-svn: 31895
2006-11-22 23:49:16 +00:00
Reid Spencer
fff57ce9cd
Stop early if there is no mis-optimization.
...
llvm-svn: 31893
2006-11-22 03:46:45 +00:00
John Criswell
4666c085f3
Documented the --disable-compression option in gccld and gccas.
...
llvm-svn: 31892
2006-11-21 22:53:12 +00:00
John Criswell
dffef2d2f5
Added the --disable-compression option which controls whether the
...
generated bytecode uses compression.
llvm-svn: 31891
2006-11-21 22:50:24 +00:00
Chris Lattner
ec45a4c88c
This xform is handled by FoldOpIntoPhi in visitCastInst in a more elegant way.
...
llvm-svn: 31889
2006-11-21 17:05:13 +00:00
Anton Korobeynikov
5b96cdebb0
Refactored *GVRequiresExtraLoad() to Subtarget method.
...
llvm-svn: 31887
2006-11-21 00:01:06 +00:00
Jim Laskey
efcaa4a8f5
Test for PR1013.
...
llvm-svn: 31886
2006-11-20 21:58:02 +00:00
Chris Lattner
e06180bab8
new testcase
...
llvm-svn: 31885
2006-11-20 21:20:57 +00:00
Chris Lattner
ec5dbccdcf
in ppc64-mode, don't allocate the 32-bit version of r13 either.
...
llvm-svn: 31884
2006-11-20 20:48:05 +00:00
Jim Laskey
d7f53cdaec
Global label not handled correctly.
...
llvm-svn: 31883
2006-11-20 20:29:06 +00:00
Chris Lattner
ac36360348
r13 is the thread pointer on darwin/ppc64, don't allocate it.
...
llvm-svn: 31882
2006-11-20 19:33:51 +00:00
Chris Lattner
1f96052d41
Fix PR1005
...
llvm-svn: 31881
2006-11-20 18:57:02 +00:00
Chris Lattner
55b8683d24
Fix PR1001, patch by Nikhil Patil!
...
llvm-svn: 31880
2006-11-20 18:54:33 +00:00
Chris Lattner
3e96211bc8
Fix codegen for x86-64 on systems (like ppc or i386) that don't have 64-bit
...
features autodetected. This fixes PR1010 and Regression/CodeGen/X86/xmm-r64.ll
on non-x86-64 hosts.
llvm-svn: 31879
2006-11-20 18:16:05 +00:00
Chris Lattner
3676a994ca
Fix PR1011 and CodeGen/Generic/2006-11-20-DAGCombineCrash.ll
...
llvm-svn: 31878
2006-11-20 18:05:46 +00:00
Chris Lattner
bffbec4482
Testcase for PR1011
...
llvm-svn: 31877
2006-11-20 18:05:26 +00:00
Chris Lattner
539df43e4b
setOperand should not zap the operand list or add implicit operands to an
...
instruction. Doing so breaks the FP stackifier, the alpha branch selector
the sparc fpmover.
This fixes PR1012 and CodeGen/X86/fp-stack-compare.ll
llvm-svn: 31876
2006-11-20 17:57:22 +00:00
Chris Lattner
2ae1230764
Testcase for pr1012
...
llvm-svn: 31875
2006-11-20 17:55:30 +00:00
Anton Korobeynikov
37d080b11d
We should perform extra load for dllimported calls
...
llvm-svn: 31874
2006-11-20 10:46:14 +00:00
Tanya Lattner
84252caf72
Fixed typo
...
llvm-svn: 31871
2006-11-20 06:07:10 +00:00
Tanya Lattner
da2d1e2319
Adding 1.9 release and removing references to cfrontend
...
llvm-svn: 31870
2006-11-20 06:04:46 +00:00
Tanya Lattner
b0babee602
Changing cfrontend dir to llvm-gcc3.4 as the example.
...
llvm-svn: 31869
2006-11-20 05:52:06 +00:00
Reid Spencer
d9436b6837
For PR950:
...
First in a series of patches to convert SetCondInst into ICmpInst and
FCmpInst using only two opcodes and having the instructions contain their
predicate value. Nothing uses these classes yet. More patches to follow.
llvm-svn: 31867
2006-11-20 01:22:35 +00:00
Reid Spencer
9f4448a26e
For PR950:
...
Retain the signedness of the old integer types in a new TypeInfo structure
so that it can be used in the grammar to implement auto-upgrade of things
that depended on signedness of types. This doesn't implement any new
functionality in the AsmParser, its just plumbing for future changes.
llvm-svn: 31866
2006-11-19 23:07:00 +00:00
Reid Spencer
f69acf3e26
Corrections from review.
...
llvm-svn: 31865
2006-11-19 03:00:14 +00:00
Chris Lattner
ea017f66f7
Don't transform in another bad case: if the block is empty, it should be
...
simplified before we do this xform so that our cost model is accurate.
llvm-svn: 31864
2006-11-18 22:25:39 +00:00
Chris Lattner
56ec81ff73
Fix another case we *don't* want to do this xform.
...
llvm-svn: 31861
2006-11-18 21:56:39 +00:00
Reid Spencer
e008326b86
Update a reference to the old setcc instruction.
...
llvm-svn: 31860
2006-11-18 21:55:45 +00:00
Reid Spencer
c828a0e3fe
For PR950:
...
Documentation preview of the upcoming icmp and fcmp instructions that
will replace the various setcc instructions.
llvm-svn: 31859
2006-11-18 21:50:54 +00:00
Chris Lattner
995a0175df
MachineInstr includes this
...
llvm-svn: 31858
2006-11-18 21:48:05 +00:00
Chris Lattner
ace542fa6c
Implement operator<< for machine basic blocks to make it easier to dump them.
...
llvm-svn: 31857
2006-11-18 21:47:36 +00:00
Chris Lattner
7acdc17fe4
make the previous change more aggressive, moving any block with no fallthrough.
...
This speeds up yacr2 by 7% on a core2.
llvm-svn: 31856
2006-11-18 21:30:35 +00:00
Chris Lattner
47ce26158f
Minor code layout tweak: if we have something like this:
...
if (cond) goto BB2
BB1:
...
return;
BB2:
...
Move BB1 to the end of the function so that the code falls through in the
non-return case. This has the effect of moving assert (and other no-return
call) bodies and return blocks out of loops.
llvm-svn: 31855
2006-11-18 20:47:54 +00:00
Chris Lattner
95adf8f1da
Do not convert massive blocks on phi nodes into select statements. Instead
...
only do these transformations if there are a small number of phi's.
This speeds up Ptrdist/ks from 2.35s to 2.19s on my mac pro.
llvm-svn: 31853
2006-11-18 19:19:36 +00:00
Chris Lattner
bfbc7ace7d
converting massive blocks of phis into selects like this is silly.
...
llvm-svn: 31852
2006-11-18 19:17:52 +00:00
Reid Spencer
4924c53b5e
Make the awk filter print out which files its eliminating.
...
llvm-svn: 31851
2006-11-18 18:30:18 +00:00
Reid Spencer
2ca613bcad
This is a utility for preparing patches against LLVM. It runs cvs diff with
...
the correct options, places the patch content in order that makes sense for
review, and filters cruft out of the patch (like diffs in *.cvs files). It
produces both a NAME.patch.raw (unfiltered) and NAME.patch (filtered) file.
llvm-svn: 31850
2006-11-18 18:02:30 +00:00
Reid Spencer
170ff02764
Provide a list of gccld optimization switches.
...
llvm-svn: 31849
2006-11-18 17:14:09 +00:00
Reid Spencer
e7c6fcdbf3
Fix bugs in this. What was I thinking??? :)
...
llvm-svn: 31848
2006-11-18 08:06:17 +00:00
Anton Korobeynikov
e7cbbfcb30
Movind newly-intorudced dll* linkage stuff & windows CC to "supported"
...
list
llvm-svn: 31847
2006-11-18 08:04:48 +00:00
Chris Lattner
ef22b57922
fix bug
...
llvm-svn: 31846
2006-11-18 07:52:10 +00:00
Chris Lattner
b81f10efaa
first draft of 1.9 release notes
...
llvm-svn: 31845
2006-11-18 07:51:14 +00:00
Reid Spencer
d8bd8def37
Fail even if opt doesn't print anything.
...
llvm-svn: 31844
2006-11-18 06:08:21 +00:00