summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Factor the actual simplification out of SimplifyIndirectBrOnSelect and into ↵Frits van Bommel2011-01-111-26/+37
| | | | | | | | a new helper function so it can be reused in e.g. an upcoming SimplifySwitchOnSelect. No functional change. llvm-svn: 123234
* Add to the CMake build some options and platform tests supported byOscar Fuentes2011-01-113-8/+24
| | | | | | | | the traditional build. Patch by arrowdodger! llvm-svn: 123233
* Made llvm_replace_compiler_option more robust. Use it onOscar Fuentes2011-01-111-7/+14
| | | | | | llvm_process_sources. llvm-svn: 123232
* Fix a thinko in 123226 that caused test failures on "other" platforms.Kalle Raiskila2011-01-111-1/+1
| | | | llvm-svn: 123229
* Revert the testcase from the previous reverted commit.Eric Christopher2011-01-111-2/+0
| | | | llvm-svn: 123227
* Add a "nop filler" pass to SPU.Kalle Raiskila2011-01-116-1/+166
| | | | | | | | | | | | | | | Filling no-ops is done just before emitting of assembly, when the instruction stream is final. No-ops are inserted to align the instructions so the dual-issue of the pipeline is utilized. This speeds up generated code with a minimum of 1% on a select set of algorithms. This pass may be redundant if the instruction scheduler and all subsequent passes that modify the instruction stream (prolog+epilog inserter, register scavenger, are there others?) are made aware of the instruction alignments. llvm-svn: 123226
* Temporarily revert 123133, it's causing some regressions and I'm tryingEric Christopher2011-01-111-8/+4
| | | | | | to get a testcase. llvm-svn: 123225
* update memdep when an instruction is deleted. This code isn'tChris Lattner2011-01-111-2/+5
| | | | | | | actually reached in the testcase in PR8954, but it's safe and good practice. llvm-svn: 123224
* when MergeBlockIntoPredecessor merges two blocks, update MemDep if itChris Lattner2011-01-111-0/+4
| | | | | | is floating around in the ether. llvm-svn: 123223
* Fix FoldSingleEntryPHINodes to update memdep and AA when it deletesChris Lattner2011-01-113-7/+23
| | | | | | | | | | phi nodes. It is called from MergeBlockIntoPredecessor which is called from GVN, which claims to preserve these. I'm skeptical that this is the actual problem behind PR8954, but this is a stab in the right direction. llvm-svn: 123222
* random cleanupsChris Lattner2011-01-112-3/+2
| | | | llvm-svn: 123221
* merge tests into one crash.ll test.Chris Lattner2011-01-116-116/+109
| | | | llvm-svn: 123220
* remove a bogus assertion: the latch block of a loop is not Chris Lattner2011-01-112-6/+36
| | | | | | | neccesarily an uncond branch to the header. This fixes PR8955 (the assertion tripping). llvm-svn: 123219
* the GEP faq says that only inbounds geps are guaranteed to not overflow.Chris Lattner2011-01-111-2/+3
| | | | llvm-svn: 123218
* Revert r123207: "Turn on memdep's verifyRemoved() in an attempt to smoke out ↵Jakob Stoklund Olesen2011-01-111-3/+1
| | | | | | | | the cause of our gcc bootstrap miscompare." It didn't. llvm-svn: 123215
* Support/Path: Deprecate PathV1::isDirectory and replace all uses with ↵Michael J. Spencer2011-01-114-4/+23
| | | | | | PathV2::is_directory. llvm-svn: 123209
* Turn on memdep's verifyRemoved() in an attempt to smoke out the cause of our ↵Jakob Stoklund Olesen2011-01-111-1/+3
| | | | | | gcc bootstrap miscompare. llvm-svn: 123207
* Teach constant folding to perform conversions from constant floatingChandler Carruth2011-01-113-55/+89
| | | | | | | | point values to their integer representation through the SSE intrinsic calls. This is the last part of a README.txt entry for which I have real world examples. llvm-svn: 123206
* FileCheck-ize a test, and move a no-longer calling test case to anotherChandler Carruth2011-01-112-19/+21
| | | | | | file and make it actually test something... llvm-svn: 123205
* Fix a random missed optimization by making InstCombine more aggressive when ↵Owen Anderson2011-01-113-17/+57
| | | | | | | | determining which bits are demanded by a comparison against a constant. llvm-svn: 123203
* Move ExpandAtomic into the integer expansion routines - it's only used there.Eric Christopher2011-01-112-86/+87
| | | | llvm-svn: 123202
* Even if we don't have 7 bytes of stack space we may need to save andEric Christopher2011-01-112-1/+48
| | | | | | | | restore the stack pointer from the frame pointer on thumbv6. Fixes rdar://8819685 llvm-svn: 123196
* Expand on the safeness of restoring the sp from the fp a bit more.Eric Christopher2011-01-101-1/+2
| | | | llvm-svn: 123193
* Fix PR 8916 (qv for analysis), at least the immediate problem.Dale Johannesen2011-01-102-1/+17
| | | | | | | | | | | There's an inherent tension in DAGCombine between assuming that things will be put in canonical form, and the Depth mechanism that disables transformations when recursion gets too deep. It would not surprise me if there's a lot of little bugs like this one waiting to be discovered. The mechanism seems fragile and I'd suggest looking at it from a design viewpoint. llvm-svn: 123191
* +0.0 vs -0.0 differences can be handled by looking at the user of theChris Lattner2011-01-101-3/+19
| | | | | | operation in some cases. llvm-svn: 123190
* McARM: Flush out hard coded known non-predicated mnemonic list.Daniel Dunbar2011-01-104-7/+12
| | | | llvm-svn: 123189
* McARM: Mark some T2 ...s instructions as codegen only, they aren't realDaniel Dunbar2011-01-101-4/+4
| | | | | | instructions but are restricted pseudo forms. llvm-svn: 123177
* ARM/MC: Mark several '...S' instructions as codegen only, they aren't realDaniel Dunbar2011-01-101-4/+6
| | | | | | instructions but are restricted pseudo forms. llvm-svn: 123176
* MC/ARM/AsmParser: Minor nitty fixes.Daniel Dunbar2011-01-101-3/+3
| | | | llvm-svn: 123175
* MC/AsmMatcher: Fix indirect 80-col viola.Daniel Dunbar2011-01-101-6/+3
| | | | llvm-svn: 123174
* Fix merge falloutAnton Korobeynikov2011-01-101-2/+2
| | | | llvm-svn: 123172
* Update CMake stuffAnton Korobeynikov2011-01-1014-16/+15
| | | | llvm-svn: 123171
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-10108-543/+564
| | | | | | and fixes here and there. llvm-svn: 123170
* MC/ARM/AsmParser: Split out SplitMnemonicAndCC().Daniel Dunbar2011-01-101-17/+29
| | | | llvm-svn: 123169
* Cleanup some of the constant folding code to consistently test intrinsicChandler Carruth2011-01-101-16/+18
| | | | | | | IDs when available rather than using a mixture of IDs and textual name comparisons. llvm-svn: 123165
* fit in 80 cols and use MBB::isSuccessor instead of a handChris Lattner2011-01-101-5/+4
| | | | | | rolled std::find. llvm-svn: 123164
* Teach instcombine about the rest of the SSE and SSE2 conversionChandler Carruth2011-01-102-4/+66
| | | | | | intrinsics element dependencies. Reviewed by Nick. llvm-svn: 123161
* Simplify a bunch of isVirtualRegister() and isPhysicalRegister() logic.Jakob Stoklund Olesen2011-01-1020-43/+39
| | | | | | | | These functions not longer assert when passed 0, but simply return false instead. No functional change intended. llvm-svn: 123155
* Fold two related tests into the newly FileCheck-ized test, migratingChandler Carruth2011-01-103-33/+36
| | | | | | them to FileCheck as well. llvm-svn: 123154
* Clean up and FileCheck-ize a test.Chandler Carruth2011-01-101-19/+19
| | | | llvm-svn: 123153
* Fix Whitespace.Michael J. Spencer2011-01-103-31/+31
| | | | llvm-svn: 123152
* Support/Path: Deprecate PathV1::exists and replace all uses with ↵Michael J. Spencer2011-01-1010-13/+31
| | | | | | PathV2::fs::exists. llvm-svn: 123151
* another random stab in the dark trying to fix llvm-gcc-i386-linux-selfhostChris Lattner2011-01-101-2/+4
| | | | llvm-svn: 123149
* fix typoChris Lattner2011-01-101-1/+1
| | | | llvm-svn: 123148
* another (more) aggressive attempt to bring llvm-gcc-i386-linux-selfhostChris Lattner2011-01-102-4/+8
| | | | | | back to life. llvm-svn: 123146
* expand on a noteChris Lattner2011-01-101-4/+9
| | | | llvm-svn: 123145
* temporarily disable memset formation from memsets in an effort to restore ↵Chris Lattner2011-01-092-3/+7
| | | | | | buildbot stability. llvm-svn: 123144
* add a testcase I missed in previous commit.Chris Lattner2011-01-091-0/+2
| | | | llvm-svn: 123143
* typoChris Lattner2011-01-091-1/+1
| | | | llvm-svn: 123142
* xref a PR #Chris Lattner2011-01-091-22/+2
| | | | llvm-svn: 123141
OpenPOWER on IntegriCloud