aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not use buggy llvm-gcc to generate testcases.Devang Patel2009-01-222-12/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62770 91177308-0d34-0410-b5e6-96231b3b80d8
* Add SelectionDAG::getNOT method to construct bitwise NOT operations,Bob Wilson2009-01-226-34/+44
| | | | | | | | | corresponding to the "not" and "vnot" PatFrags. Use the new method in some places where it seems appropriate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62768 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove no-longer relevant comment. Pointed outDuncan Sands2009-01-221-1/+0
| | | | | | | by Gabor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62765 91177308-0d34-0410-b5e6-96231b3b80d8
* This passes on linux.Duncan Sands2009-01-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62764 91177308-0d34-0410-b5e6-96231b3b80d8
* Few targets like the tiny little PIC16 have only 16-bit pointers.Sanjiv Gupta2009-01-221-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62763 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate a couple of fields from TargetRegisterClass: SubRegClasses and ↵Evan Cheng2009-01-227-148/+13
| | | | | | SuperRegClasses. These are not necessary. Also eliminate getSubRegisterRegClass and getSuperRegisterRegClass. These are slow and their results can change if register file names change. Just use TargetLowering::getRegClassFor() to get the right TargetRegisterClass instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62762 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a typoChris Lattner2009-01-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62761 91177308-0d34-0410-b5e6-96231b3b80d8
* add a noteChris Lattner2009-01-221-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62760 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a testcase.Chris Lattner2009-01-221-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62758 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR3358, a really nasty bug where recursive phi translated Chris Lattner2009-01-222-3/+91
| | | | | | | | | analyses could be run without the caches properly sorted. This can fix all sorts of weirdness. Many thanks to Bill for coming up with the 'issorted' verification idea. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62757 91177308-0d34-0410-b5e6-96231b3b80d8
* Bump to 2.6svn.Tanya Lattner2009-01-223-1046/+3400
| | | | | | | Regenerate configure (last regen was with the wrong version). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62751 91177308-0d34-0410-b5e6-96231b3b80d8
* Make tblgen more portable, allowing it to build with ICC.Chris Lattner2009-01-221-2/+2
| | | | | | | Patch by Robert Zeh! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62750 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't create .dir files in installation directories. Switch to usingMike Stump2009-01-221-9/+7
| | | | | | | order-only dependancies for installation directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62746 91177308-0d34-0410-b5e6-96231b3b80d8
* The operator<() and operator>() were reversing their tests. Have the test ↵Bill Wendling2009-01-221-4/+4
| | | | | | the correct way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62745 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of warning about implicit 64-to-32 bit conversions.Bill Wendling2009-01-221-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62741 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a few more notes about LLVM IR features that codegen doesn'tDan Gohman2009-01-221-0/+12
| | | | | | | yet support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62739 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Tests PERL availability with PERL_EXECUTABLE variable.Oscar Fuentes2009-01-221-5/+12
| | | | | | | | On MSVC 64bits, does not put underscore before the symbol name on the /INCLUDE linker parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62738 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit this-> (to make the VS compiler happy).Steve Naroff2009-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62731 91177308-0d34-0410-b5e6-96231b3b80d8
* Recognize inline asm for bswap on x86-64 GLIBC. This allows itDan Gohman2009-01-211-1/+11
| | | | | | | to be supported in the JIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62730 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix ilist two-phase name lookupDouglas Gregor2009-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62724 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a missing word.Dan Gohman2009-01-211-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62720 91177308-0d34-0410-b5e6-96231b3b80d8
* Versions of VIM included with Intrepid and Leopard at least appearDan Gohman2009-01-211-7/+8
| | | | | | | | to handle symlinks just fine, so reword the instructions in the README accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62719 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable syntax highlighting of LLVM and tablegen files by default,Dan Gohman2009-01-211-0/+12
| | | | | | | so that users don't have to copy text from the README to get this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62718 91177308-0d34-0410-b5e6-96231b3b80d8
* Only set cindent for C and C++ source files.Dan Gohman2009-01-211-4/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62717 91177308-0d34-0410-b5e6-96231b3b80d8
* Now with RUN line.Bill Wendling2009-01-211-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62716 91177308-0d34-0410-b5e6-96231b3b80d8
* Run this through -simplifycfg and -mem2reg to test only what we need to test.Bill Wendling2009-01-211-90/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62714 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment to SelectionDAG::ReplaceAllUsesWith to describe a subtleDan Gohman2009-01-211-0/+5
| | | | | | | iteraction with SelectionDAG CSE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62713 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not use host floating point types when emittingDale Johannesen2009-01-216-15/+22
| | | | | | | | | | | ASCII IR; loading and storing these can change the bits of NaNs on some hosts. Remove or add warnings at a few other places using host floating point; this is a bad thing to do in general. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62712 91177308-0d34-0410-b5e6-96231b3b80d8
* Also favors NOT64r.Evan Cheng2009-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62710 91177308-0d34-0410-b5e6-96231b3b80d8
* fix warning in release-asserts mode and spelling of assert.Chris Lattner2009-01-211-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62699 91177308-0d34-0410-b5e6-96231b3b80d8
* add getPointerToGlobal to the C bindings, patch by Lennart Augustsson!Chris Lattner2009-01-212-0/+6
| | | | | | | PR3364 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62697 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove uses of uint32_t in favor of 'unsigned' for better Chris Lattner2009-01-212-194/+194
| | | | | | | compatibility with cygwin. Patch by Jay Foad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62695 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify ReduceLoadWidth's logic: it doesn't need several differentDan Gohman2009-01-212-19/+56
| | | | | | | | | special cases after producing the new reduced-width load, because the new load already has the needed adjustments built into it. This fixes several bugs due to the special cases, including PR3317. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62692 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a recent regression. ClrOpcode is not set for i8; for i8, ifDan Gohman2009-01-212-2/+24
| | | | | | | | we want to clear %ah to zero before a division, just use a zero-extending mov to %al. This fixes PR3366. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62691 91177308-0d34-0410-b5e6-96231b3b80d8
* Mimic gcc behaviour with regard to response files.Mikhail Glushenkov2009-01-212-16/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62688 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix 'llvm-config --libs' output.Mikhail Glushenkov2009-01-212-2/+2
| | | | | | | Change the naming scheme for llvmc plugins so that they do not appear in 'llvm-config --libs' output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62687 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the hook API back to prevent memory leaks.Mikhail Glushenkov2009-01-212-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62686 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow hooks with arguments.Mikhail Glushenkov2009-01-213-50/+240
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62685 91177308-0d34-0410-b5e6-96231b3b80d8
* This was causing invalid memory accesses whenDuncan Sands2009-01-211-0/+74
| | | | | | | generating debug info in the compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62684 91177308-0d34-0410-b5e6-96231b3b80d8
* Let's try to have our cake and eat it to: moveDuncan Sands2009-01-211-1/+1
| | | | | | | | | this test into FrontendC to ensure that llvm-gcc is available; assemble using "llvm-gcc -xassembler" rather than "as". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62683 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't rely on grep -w working.Duncan Sands2009-01-211-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62682 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed build warnings. Restoring changes done in 62600, they were lost in 62655.Sanjiv Gupta2009-01-212-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62681 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup whitespace and comments, and tweak someDuncan Sands2009-01-218-79/+75
| | | | | | | | prototypes, in operand type legalization. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62680 91177308-0d34-0410-b5e6-96231b3b80d8
* I accidentally removed this check in an earlier commit, which cause breakage ↵Owen Anderson2009-01-211-0/+4
| | | | | | in the pre alloc splitter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62678 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement LowerOperationWrapper for legalizer. Sanjiv Gupta2009-01-215-138/+174
| | | | | | | Also a few signed comparison fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62665 91177308-0d34-0410-b5e6-96231b3b80d8
* CellSPU:Scott Michel2009-01-2110-133/+320
| | | | | | | | | | | | | | - Ensure that (operation) legalization emits proper FDIV libcall when needed. - Fix various bugs encountered during llvm-spu-gcc build, along with various cleanups. - Start supporting double precision comparisons for remaining libgcc2 build. Discovered interesting DAGCombiner feature, which is currently solved via custom lowering (64-bit constants are not legal on CellSPU, but DAGCombiner insists on inserting one anyway.) - Update README. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62664 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow targets to legalize operations (with illegal operands) that produces ↵Sanjiv Gupta2009-01-216-68/+102
| | | | | | multiple values. For example, a load with an illegal operand (a load produces two values, a value and chain). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62663 91177308-0d34-0410-b5e6-96231b3b80d8
* Favors generating "not" over "xor -1". For example.Evan Cheng2009-01-212-1/+4
| | | | | | | | | | | | | | | | | | unsigned test(unsigned a) { return ~a; } llvm used to generate: movl $4294967295, %eax xorl 4(%esp), %eax Now it generates: movl 4(%esp), %eax notl %eax It's 3 bytes shorter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62661 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable on x86_64 until I figure out what's wrong.Dale Johannesen2009-01-211-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62660 91177308-0d34-0410-b5e6-96231b3b80d8
* Make special cases (0 inf nan) work for frem.Dale Johannesen2009-01-215-38/+384
| | | | | | | | | | Besides APFloat, this involved removing code from two places that thought they knew the result of frem(0., x) but were wrong. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62645 91177308-0d34-0410-b5e6-96231b3b80d8