aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't use bitcast yet!Reid Spencer2006-11-261-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31930 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this test case easier to read. No functional changes.Reid Spencer2006-11-261-27/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31929 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed #include <iostream> and replace with llvm_* streams.Bill Wendling2006-11-266-56/+57
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31927 91177308-0d34-0410-b5e6-96231b3b80d8
* Add method that will take a function pointer so that it can handle thingsBill Wendling2006-11-261-0/+7
| | | | | | | like "llvm_cerr << std::flush"; git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31926 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove #include <iostream> and use llvm_* streams instead.Bill Wendling2006-11-263-40/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31925 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace #include <iostream> with llvm_* streams.Bill Wendling2006-11-266-69/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31924 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed #include <iostream> and replaced with llvm_* streams.Bill Wendling2006-11-2611-115/+100
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31923 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed #include <iostream> and used the llvm_cerr/DOUT streams instead.Bill Wendling2006-11-267-44/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31922 91177308-0d34-0410-b5e6-96231b3b80d8
* fix storing bools to mem and unordered FP opsDuraid Madina2006-11-262-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31920 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the absolute/relative tolerance information easier to read/understand.Reid Spencer2006-11-251-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31908 91177308-0d34-0410-b5e6-96231b3b80d8
* Add newline at end of file.Reid Spencer2006-11-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31902 91177308-0d34-0410-b5e6-96231b3b80d8
* Only show the first few lines of difference.Reid Spencer2006-11-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31901 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an option to enable lli (interpreter mode) testing.Reid Spencer2006-11-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31899 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some typos.Reid Spencer2006-11-231-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31897 91177308-0d34-0410-b5e6-96231b3b80d8
* Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 andReid Spencer2006-11-2362-226/+227
| | | | | | | | older features will be dropped soon and these test cases must not rely on the upgrade capability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to new predicate simplifier VRP design. Fixes PR966 and PR967.Nick Lewycky2006-11-228-576/+1253
| | | | | | | | | Remove predicate simplifier from default gcc3 pipeline. New design is too slow to enable by default. Add new testcases for problems encountered in development. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31895 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop early if there is no mis-optimization.Reid Spencer2006-11-221-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31893 91177308-0d34-0410-b5e6-96231b3b80d8
* Documented the --disable-compression option in gccld and gccas.John Criswell2006-11-212-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31892 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the --disable-compression option which controls whether theJohn Criswell2006-11-211-1/+5
| | | | | | | generated bytecode uses compression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31891 91177308-0d34-0410-b5e6-96231b3b80d8
* This xform is handled by FoldOpIntoPhi in visitCastInst in a more elegant way.Chris Lattner2006-11-211-30/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31889 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactored *GVRequiresExtraLoad() to Subtarget method.Anton Korobeynikov2006-11-212-120/+109
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31887 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for PR1013.Jim Laskey2006-11-201-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31886 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2006-11-201-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31885 91177308-0d34-0410-b5e6-96231b3b80d8
* in ppc64-mode, don't allocate the 32-bit version of r13 either.Chris Lattner2006-11-201-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31884 91177308-0d34-0410-b5e6-96231b3b80d8
* Global label not handled correctly.Jim Laskey2006-11-201-3/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31883 91177308-0d34-0410-b5e6-96231b3b80d8
* r13 is the thread pointer on darwin/ppc64, don't allocate it.Chris Lattner2006-11-202-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31882 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1005Chris Lattner2006-11-202-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31881 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1001, patch by Nikhil Patil!Chris Lattner2006-11-201-1/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31880 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix codegen for x86-64 on systems (like ppc or i386) that don't have 64-bitChris Lattner2006-11-201-8/+17
| | | | | | | | features autodetected. This fixes PR1010 and Regression/CodeGen/X86/xmm-r64.ll on non-x86-64 hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31879 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1011 and CodeGen/Generic/2006-11-20-DAGCombineCrash.llChris Lattner2006-11-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31878 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR1011Chris Lattner2006-11-201-0/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31877 91177308-0d34-0410-b5e6-96231b3b80d8
* setOperand should not zap the operand list or add implicit operands to anChris Lattner2006-11-202-40/+1
| | | | | | | | | | instruction. Doing so breaks the FP stackifier, the alpha branch selector the sparc fpmover. This fixes PR1012 and CodeGen/X86/fp-stack-compare.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31876 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for pr1012Chris Lattner2006-11-201-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31875 91177308-0d34-0410-b5e6-96231b3b80d8
* We should perform extra load for dllimported callsAnton Korobeynikov2006-11-201-12/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31874 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed typoTanya Lattner2006-11-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31871 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding 1.9 release and removing references to cfrontendTanya Lattner2006-11-201-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31870 91177308-0d34-0410-b5e6-96231b3b80d8
* Changing cfrontend dir to llvm-gcc3.4 as the example.Tanya Lattner2006-11-201-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31869 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950:Reid Spencer2006-11-209-15/+642
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31867 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950:Reid Spencer2006-11-193-215/+277
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31866 91177308-0d34-0410-b5e6-96231b3b80d8
* Corrections from review.Reid Spencer2006-11-191-21/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31865 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't transform in another bad case: if the block is empty, it should beChris Lattner2006-11-181-1/+2
| | | | | | | simplified before we do this xform so that our cost model is accurate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31864 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix another case we *don't* want to do this xform.Chris Lattner2006-11-181-2/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31861 91177308-0d34-0410-b5e6-96231b3b80d8
* Update a reference to the old setcc instruction.Reid Spencer2006-11-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31860 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR950:Reid Spencer2006-11-181-48/+162
| | | | | | | | Documentation preview of the upcoming icmp and fcmp instructions that will replace the various setcc instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31859 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineInstr includes thisChris Lattner2006-11-181-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31858 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement operator<< for machine basic blocks to make it easier to dump them.Chris Lattner2006-11-183-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31857 91177308-0d34-0410-b5e6-96231b3b80d8
* make the previous change more aggressive, moving any block with no fallthrough.Chris Lattner2006-11-181-9/+11
| | | | | | | This speeds up yacr2 by 7% on a core2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31856 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor code layout tweak: if we have something like this:Chris Lattner2006-11-181-0/+50
| | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31855 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not convert massive blocks on phi nodes into select statements. InsteadChris Lattner2006-11-181-0/+27
| | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31853 91177308-0d34-0410-b5e6-96231b3b80d8
* converting massive blocks of phis into selects like this is silly.Chris Lattner2006-11-181-28/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31852 91177308-0d34-0410-b5e6-96231b3b80d8