aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove extra header.Nick Lewycky2006-12-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32056 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix opt -o option. Don't pass a pointer to an auto variable which is goingNick Lewycky2006-12-011-4/+3
| | | | | | | away before it's needed, and don't try to delete that pointer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32055 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1019:Reid Spencer2006-12-014-73/+77
| | | | | | | | | Add HAVE_PTHREAD to makefiles with support from configure and use it to determine whether to build examples/ParallelJIT. Patch by Anton Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32054 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate.Reid Spencer2006-12-014-196/+184
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32053 91177308-0d34-0410-b5e6-96231b3b80d8
* Introducing external weak linkage. Darwin codegen should be added later.Anton Korobeynikov2006-12-019-30/+89
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32052 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove 4 FIXMEs to hack around cast-to-bool problems which no longer exist.Reid Spencer2006-11-301-46/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32051 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor out GVRequiresExtraLoad() from .h to .cppAnton Korobeynikov2006-11-302-13/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32048 91177308-0d34-0410-b5e6-96231b3b80d8
* Add X86-64 load / store codegen tests.Evan Cheng2006-11-301-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32047 91177308-0d34-0410-b5e6-96231b3b80d8
* - Use a different wrapper node for RIP-relative GV, etc.Evan Cheng2006-11-305-62/+81
| | | | | | | | - Proper support for both small static and PIC modes under X86-64 - Some (non-optimal) support for medium modes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32046 91177308-0d34-0410-b5e6-96231b3b80d8
* better check for versionJim Laskey2006-11-301-2/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32045 91177308-0d34-0410-b5e6-96231b3b80d8
* make it clear that this is always a zextChris Lattner2006-11-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32044 91177308-0d34-0410-b5e6-96231b3b80d8
* One more bugfix, 3 cases of making casts explicit.Chris Lattner2006-11-301-5/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32043 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in globalopt due to the recent cast patch.Chris Lattner2006-11-301-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32042 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow llvm-upgrade to read from stdin. Configure the lexer for readingReid Spencer2006-11-3011-674/+694
| | | | | | | from C++ std::istream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32041 91177308-0d34-0410-b5e6-96231b3b80d8
* Add compile unit size testJim Laskey2006-11-301-0/+58
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32040 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct commentJim Laskey2006-11-301-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32039 91177308-0d34-0410-b5e6-96231b3b80d8
* Pubnames testJim Laskey2006-11-301-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32038 91177308-0d34-0410-b5e6-96231b3b80d8
* Update docsJim Laskey2006-11-301-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32037 91177308-0d34-0410-b5e6-96231b3b80d8
* Change global descriptor names to provide name, full name and linkage name.Jim Laskey2006-11-303-43/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32036 91177308-0d34-0410-b5e6-96231b3b80d8
* Temp fix to deal gdb issue.Jim Laskey2006-11-301-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32035 91177308-0d34-0410-b5e6-96231b3b80d8
* MachineInstr::setOpcode -> MachineInstr::setInstrDescriptorEvan Cheng2006-11-304-36/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32034 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the ugly SPARCV9 TargetInstrDescriptors hack.Evan Cheng2006-11-301-13/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32033 91177308-0d34-0410-b5e6-96231b3b80d8
* - MachineInstr now keeps a ptr to TargetInstrDescriptor instead of Opcode.Evan Cheng2006-11-302-48/+46
| | | | | | | - Remove the ugly TargetInstrDescriptors hack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32032 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore generated files.Reid Spencer2006-11-301-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32031 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial, non-functional, version of llvm-upgrade. This version just echosReid Spencer2006-11-3013-0/+15223
| | | | | | | its input. Committed for safekeeping purposes. Don't use this yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32030 91177308-0d34-0410-b5e6-96231b3b80d8
* New LSR test case.Evan Cheng2006-11-291-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32029 91177308-0d34-0410-b5e6-96231b3b80d8
* In PIC mode, GV not requiring an extra load can be used as address immediate.Evan Cheng2006-11-291-14/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32028 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up.Evan Cheng2006-11-291-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32027 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for PR1018 - Better support for X86-64 Linux in small code model.Evan Cheng2006-11-293-14/+55
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32026 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the delegation right for InstVisitor.Reid Spencer2006-11-292-13/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32025 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug codegen'ing FP constant vectors with integer splats. Make sure theChris Lattner2006-11-291-14/+22
| | | | | | | | created intrinsics have the right integer types. This fixes PowerPC/2006-11-29-AltivecFPSplat.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32024 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2006-11-291-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32023 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid inifinite looping if READCYCLECOUNTER isn't custom lowered.Evan Cheng2006-11-291-3/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32022 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate unnecessary scopes.Jim Laskey2006-11-291-21/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32020 91177308-0d34-0410-b5e6-96231b3b80d8
* Offset for load of 32-bit arg in 64-bit world was incorrect.Jim Laskey2006-11-291-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32019 91177308-0d34-0410-b5e6-96231b3b80d8
* Add x86-64 llvm.readcyclecounter test.Evan Cheng2006-11-291-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32018 91177308-0d34-0410-b5e6-96231b3b80d8
* Custom lower READCYCLECOUNTER for x86-64.Evan Cheng2006-11-292-12/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32017 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow target to custom lower READCYCLECOUNTER (when it doesn't have to be ↵Evan Cheng2006-11-291-2/+10
| | | | | | expanded). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32016 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test.Evan Cheng2006-11-291-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32015 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops! didn't mean to put this in there yet.Bill Wendling2006-11-291-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32014 91177308-0d34-0410-b5e6-96231b3b80d8
* doneChris Lattner2006-11-291-16/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32013 91177308-0d34-0410-b5e6-96231b3b80d8
* new bswap idiomChris Lattner2006-11-291-1/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32012 91177308-0d34-0410-b5e6-96231b3b80d8
* implement cast.ll:test35. With this, we recognize:Chris Lattner2006-11-291-0/+16
| | | | | | | | | | | unsigned short swp(unsigned short a) { return ((a & 0xff00) >> 8 | (a & 0x00ff) << 8); } as an idiom for bswap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32011 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2006-11-291-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32010 91177308-0d34-0410-b5e6-96231b3b80d8
* Teach instcombine to turn trunc(srl x, c) -> srl (trunc(x), c) when safe.Chris Lattner2006-11-291-1/+33
| | | | | | | | This implements InstCombine/cast.ll:test34. It fires hundreds of times on 176.gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32009 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2006-11-291-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32008 91177308-0d34-0410-b5e6-96231b3b80d8
* This fails on mainline.Chris Lattner2006-11-291-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32007 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement Regression/Transforms/InstCombine/bswap-fold.ll,Chris Lattner2006-11-291-1/+24
| | | | | | | folding seteq (bswap(x)), c -> seteq(x,bswap(c)) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32006 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase, bswaps should be eliminated.Chris Lattner2006-11-291-0/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32005 91177308-0d34-0410-b5e6-96231b3b80d8
* 16-byte stack alignment for X86-64 ELF. Patch by Dan Gohman.Evan Cheng2006-11-291-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32004 91177308-0d34-0410-b5e6-96231b3b80d8