aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For PR950:Reid Spencer2006-10-2070-4082/+5035
| | | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063 91177308-0d34-0410-b5e6-96231b3b80d8
* While creating mask, use 1ULL instead of 1.Devang Patel2006-10-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31062 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix SimplifyCFG/2006-10-19-UncondDiv.ll by disabling a bad xform.Chris Lattner2006-10-201-23/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31061 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for PR957Chris Lattner2006-10-201-0/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31060 91177308-0d34-0410-b5e6-96231b3b80d8
* add a method to determine whether evaluation of a constant can trap.Chris Lattner2006-10-202-0/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31059 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for P926Bill Wendling2006-10-191-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31058 91177308-0d34-0410-b5e6-96231b3b80d8
* Partially in response to PR926: insert the newly created machine basicBill Wendling2006-10-191-8/+17
| | | | | | | | | blocks into the basic block list when lowering the switch inst. into a binary tree of if-then statements. This allows the "visitSwitchCase" func to allow for fall-through behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31057 91177308-0d34-0410-b5e6-96231b3b80d8
* It is OK to remove extra cast if operation is EQ/NE even though sourceDevang Patel2006-10-192-2/+12
| | | | | | | and destination sign may not match but other conditions are met. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31056 91177308-0d34-0410-b5e6-96231b3b80d8
* Typo Typo.Devang Patel2006-10-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31055 91177308-0d34-0410-b5e6-96231b3b80d8
* Typo.Devang Patel2006-10-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31054 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in PR454 resolution. Added new test case.Devang Patel2006-10-193-25/+23
| | | | | | | This fixes llvmAsmParser.cpp miscompile by llvm on PowerPC Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31053 91177308-0d34-0410-b5e6-96231b3b80d8
* use Pat to implement extloadi8 and extloadi16Rafael Espindola2006-10-191-8/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31052 91177308-0d34-0410-b5e6-96231b3b80d8
* 80 cols fix.Reid Spencer2006-10-191-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31050 91177308-0d34-0410-b5e6-96231b3b80d8
* implement undefRafael Espindola2006-10-191-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31049 91177308-0d34-0410-b5e6-96231b3b80d8
* print common symbolsRafael Espindola2006-10-192-18/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31048 91177308-0d34-0410-b5e6-96231b3b80d8
* implement extloadi8 and extloadi16Rafael Espindola2006-10-191-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31047 91177308-0d34-0410-b5e6-96231b3b80d8
* expand SIGN_EXTEND_INREGRafael Espindola2006-10-191-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31046 91177308-0d34-0410-b5e6-96231b3b80d8
* expand brind so that we don't have to implement jump tables right nowRafael Espindola2006-10-191-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31045 91177308-0d34-0410-b5e6-96231b3b80d8
* Beef up the output from DiffFilesWithTolerance by setting the error codeReid Spencer2006-10-181-3/+16
| | | | | | | | to describe the difference being reported. This assists with understanding differences an llvm-test and should help with bugpoint too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31044 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm.spec, a generated file.Reid Spencer2006-10-181-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31041 91177308-0d34-0410-b5e6-96231b3b80d8
* Add option for controlling inclusion of global AA.Jim Laskey2006-10-181-6/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31040 91177308-0d34-0410-b5e6-96231b3b80d8
* fit in 80 colsChris Lattner2006-10-181-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31039 91177308-0d34-0410-b5e6-96231b3b80d8
* add a noteChris Lattner2006-10-181-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31038 91177308-0d34-0410-b5e6-96231b3b80d8
* add blxRafael Espindola2006-10-182-1/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31037 91177308-0d34-0410-b5e6-96231b3b80d8
* add isTerminatortto b and bcondRafael Espindola2006-10-181-7/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31036 91177308-0d34-0410-b5e6-96231b3b80d8
* Use global info for alias analysis.Jim Laskey2006-10-181-9/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31035 91177308-0d34-0410-b5e6-96231b3b80d8
* implement CallingConv::Fast as CallingConv::CRafael Espindola2006-10-182-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31034 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed mingw\cygwin linkonce linkage once again.Anton Korobeynikov2006-10-182-27/+9
| | | | | | | | | | | Added workaround for linker bug with linkonce sections. Changed sections prefix to allow linker merge them (PE loader doesn't like too much long-named sections :) ) All of this unbreaks libstdc++ on mingw32 allowing (small) programs to be compiled, linked and run. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31033 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LCSSA to the LLVM lexicon.Owen Anderson2006-10-181-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31032 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the new "target data" information in .ll files. This providesOwen Anderson2006-10-185-2372/+2224
| | | | | | | | | | a better encoding of the targets data layout, rather than trying to guess it from the endianness and pointersize like before. Update the generated files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31031 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the new "target data" information in .ll files. This providesOwen Anderson2006-10-184-0/+18
| | | | | | | | a better encoding of the targets data layout, rather than trying to guess it from the endianness and pointersize like before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31030 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2006-10-181-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31029 91177308-0d34-0410-b5e6-96231b3b80d8
* set the ppc64 stack pointer right, dynamic alloca now works for ppc64Chris Lattner2006-10-181-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31028 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand alloca for ppc64Chris Lattner2006-10-181-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31027 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach the branch folder to update debug info if it removes blocks with lineChris Lattner2006-10-171-2/+23
| | | | | | | # notes in it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31026 91177308-0d34-0410-b5e6-96231b3b80d8
* add a method to remove a line # record.Chris Lattner2006-10-172-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31025 91177308-0d34-0410-b5e6-96231b3b80d8
* expose DWARF_LABEL opcode# so the branch folder can update debug info properly.Chris Lattner2006-10-174-0/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31024 91177308-0d34-0410-b5e6-96231b3b80d8
* update commentChris Lattner2006-10-171-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31023 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not leak all of the SourceLineInfo objects. Do not bother mallocing eachChris Lattner2006-10-174-17/+23
| | | | | | | one separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31022 91177308-0d34-0410-b5e6-96231b3b80d8
* minor cleanupsChris Lattner2006-10-171-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31021 91177308-0d34-0410-b5e6-96231b3b80d8
* Trivial patch to speed up legalizing common i64 constants.Chris Lattner2006-10-171-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31020 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix CodeGen/PowerPC/2006-10-17-brcc-miscompile.llChris Lattner2006-10-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31019 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase, miscompilation of llvm with itself.Chris Lattner2006-10-171-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31018 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix printer for StoreSDNode.Evan Cheng2006-10-171-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31017 91177308-0d34-0410-b5e6-96231b3b80d8
* Reflect MemOpAddrMode change; added a helper to create pre-indexed load.Evan Cheng2006-10-171-4/+68
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31016 91177308-0d34-0410-b5e6-96231b3b80d8
* Split PRE_INDEXED to PRE_INC / PRE_DEC and similarly for POST_INDEXED.Evan Cheng2006-10-172-8/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31015 91177308-0d34-0410-b5e6-96231b3b80d8
* expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREMRafael Espindola2006-10-172-0/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31014 91177308-0d34-0410-b5e6-96231b3b80d8
* add the FPUnaryOp and DFPUnaryOp classesRafael Espindola2006-10-171-15/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31013 91177308-0d34-0410-b5e6-96231b3b80d8
* add FABSS and FABSDRafael Espindola2006-10-172-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31012 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding linkonce linkage codegeneration support for mingw32\cygwinAnton Korobeynikov2006-10-172-1/+26
| | | | | | | targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31011 91177308-0d34-0410-b5e6-96231b3b80d8