summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup #includes.Jakub Staszak2013-03-103-5/+5
| | | | llvm-svn: 176787
* Remove unneeded #include.Jakub Staszak2013-03-101-1/+0
| | | | llvm-svn: 176785
* Add some constantness in MachinePostDominators.h.Jakub Staszak2013-03-101-7/+8
| | | | llvm-svn: 176784
* Remove unneeded #includes. Use forward declarations instead.Jakub Staszak2013-03-102-5/+9
| | | | llvm-svn: 176783
* Remove unneeded #includes. Use forward declarations instead.Jakub Staszak2013-03-101-3/+5
| | | | llvm-svn: 176782
* Remove an unused member variable from HelpPrinter. Move another member ↵Craig Topper2013-03-091-6/+2
| | | | | | variable to be a local variable in the only method that uses it. llvm-svn: 176778
* Don't glue users to extract_subreg when selecting the llvm.arm.ldrexdLang Hames2013-03-092-6/+17
| | | | | | | | | intrinsic - it can cause impossible-to-schedule subgraphs to be introduced. PR15053. llvm-svn: 176777
* Remove unneeded cast.Jakub Staszak2013-03-091-3/+3
| | | | llvm-svn: 176776
* Remove a source of nondeterminism from the LoopVectorizer.Benjamin Kramer2013-03-091-1/+1
| | | | | | | This made us emit runtime checks in a random order. Hopefully bootstrap miscompares will go away now. llvm-svn: 176775
* Fix test case.Benjamin Kramer2013-03-091-2/+2
| | | | llvm-svn: 176773
* Test case hygiene.Benjamin Kramer2013-03-0918-51/+50
| | | | llvm-svn: 176772
* Remove unneeded const_cast.Jakub Staszak2013-03-091-5/+5
| | | | llvm-svn: 176771
* Use forward declaration instead of #include.Jakub Staszak2013-03-091-1/+1
| | | | llvm-svn: 176770
* LoopVectorizer: Ignore all dbg intrinisicArnold Schwaighofer2013-03-091-6/+6
| | | | | | Ignore all DbgIntriniscInfo instructions instead of just DbgValueInst. llvm-svn: 176769
* LoopVectorizer: Ignore dbg.value instructionsArnold Schwaighofer2013-03-092-2/+81
| | | | | | | | | We want vectorization to happen at -g. Ignore calls to the dbg.value intrinsic and don't transfer them to the vectorized code. radar://13378964 llvm-svn: 176768
* TLI: Microoptimize calls to strlen+memcmp to strncmp.Benjamin Kramer2013-03-091-2/+24
| | | | | | | | The strlen+memcmp was hidden in a call to StringRef::operator==. We check if there are any null bytes in the string upfront so we can simplify the comparison Small speedup when compiling code with many function calls. llvm-svn: 176766
* Simplify code. No functionality change.Jakub Staszak2013-03-091-2/+2
| | | | llvm-svn: 176765
* Use the correct index variable. This is the meat of what was supposed to be inNick Lewycky2013-03-091-1/+1
| | | | | | r176751. Also, learn a lesson about applying patches by hand/eyeball. llvm-svn: 176764
* Commit the right files for r176762. Sigh.Nick Lewycky2013-03-091-3/+3
| | | | llvm-svn: 176763
* We need a shndx if the number of sections breaks SHN_LORESERVE. This conditionNick Lewycky2013-03-092-1/+65282
| | | | | | for choosing to emit a shndx was simply testing the wrong variable. llvm-svn: 176762
* Fix bug introduced in r176616 when making function identifier numbers stable.Nick Lewycky2013-03-091-5/+3
| | | | | | Count the subprograms, not the compile units. llvm-svn: 176751
* Don't emit the extra checksum into the .gcda file if the user hasn't asked forNick Lewycky2013-03-091-4/+6
| | | | | | | | it. Fortunately, versions of gcov that predate the extra checksum also ignore any extra data, so this isn't a problem. There will be a matching commit in compiler-rt. llvm-svn: 176745
* Remove wrong and unnecessary assertion.Jakob Stoklund Olesen2013-03-081-1/+0
| | | | | | | PHIs are allowed to have multiple operand pairs per predecessor, and this code works just fine when it happens. llvm-svn: 176734
* Disable statistics on Release builds and move tests that depend on -stats.Jan Wen Voung2013-03-0891-20/+142
| | | | | | | | | | | | | | | | | Summary: Statistics are still available in Release+Asserts (any +Asserts builds), and stats can also be turned on with LLVM_ENABLE_STATS. Move some of the FastISel stats that were moved under DEBUG() back out of DEBUG(), since stats are disabled across the board now. Many tests depend on grepping "-stats" output. Move those into a orig_dir/Stats/. so that they can be marked as unsupported when building without statistics. Differential Revision: http://llvm-reviews.chandlerc.com/D486 llvm-svn: 176733
* Clean up out-of-date comments and some stray whitespaceEli Bendersky2013-03-082-14/+12
| | | | llvm-svn: 176729
* Early exit from getAllocationData() and isFreeCall() for intrinsics.Michael Ilseman2013-03-081-1/+5
| | | | llvm-svn: 176722
* Assert to bounds check MDNode::getOperand.David Blaikie2013-03-081-0/+1
| | | | | | | | | The getOperandPtr utility already bounds checks, but allows one-off-the-end. This assert should catch the cases that could previously have been dereferencing these one-off-the-end pointer. Happily, no cases of this came up with this change. llvm-svn: 176721
* Remove trailing whitespaceMichael Ilseman2013-03-081-5/+5
| | | | llvm-svn: 176720
* No really, don't use end().Jakob Stoklund Olesen2013-03-081-2/+2
| | | | | | | Clearly, this function is never actually called with the last instruction in the function. llvm-svn: 176708
* Remove -print-dbginfo as it is unused & bitrotten.David Blaikie2013-03-087-297/+0
| | | | | | | | This pass hasn't been touched in two years & would fail with assertions against the current debug info metadata format (the only test case for it still uses a many-versions old debug info metadata format) llvm-svn: 176707
* Rewrite the physreg part of findLastUseBefore().Jakob Stoklund Olesen2013-03-082-24/+76
| | | | | | | | | To find the last use of a register unit, start from the bottom and scan upwards until a user is found. <rdar://problem/13353090> llvm-svn: 176706
* Avoid creating a SlotIndex from the end() iterator.Jakob Stoklund Olesen2013-03-081-6/+10
| | | | | | No test case, spotted by inspection. llvm-svn: 176705
* Remove default from fully covered switch.Benjamin Kramer2013-03-081-2/+1
| | | | llvm-svn: 176703
* Force cpu in test.Benjamin Kramer2013-03-081-1/+1
| | | | llvm-svn: 176702
* Insert the reduction start value into the first bypass block to preserve ↵Benjamin Kramer2013-03-082-1/+36
| | | | | | | | domination. Fixes PR15344. llvm-svn: 176701
* R600: Optimize another selectcc caseTom Stellard2013-03-082-13/+49
| | | | | | | | fold selectcc (selectcc x, y, a, b, cc), b, a, b, setne -> selectcc x, y, a, b, cc Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 176700
* R600: Improve custom lowering of select_ccTom Stellard2013-03-084-40/+82
| | | | | | | | | Two changes: 1. Prefer SET* instructions when possible 2. Handle the CND*_INT case with floating-point args Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 176699
* R600: Change operation action from Custom to Expand for BR_CCTom Stellard2013-03-083-45/+5
| | | | | Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 176698
* R600: Change operation action from Custom to Expand for SETCCTom Stellard2013-03-083-49/+27
| | | | | Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 176697
* R600: Set BooleanContents to ZeroOrNegativeOneBooleanContentTom Stellard2013-03-081-0/+1
| | | | | Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 176696
* LegalizeDAG: Respect the result of TLI.getBooleanContents() when expanding SETCCTom Stellard2013-03-082-1/+39
| | | | llvm-svn: 176695
* DAGCombiner: Use correct value type for checking legality of BR_CC v3Tom Stellard2013-03-087-7/+26
| | | | | | | | | | | | | LegalizeDAG.cpp uses the value of the comparison operands when checking the legality of BR_CC, so DAGCombiner should do the same. v2: - Expand more BR_CC value types for NVPTX v3: - Expand correct BR_CC value types for Hexagon, Mips, and XCore. llvm-svn: 176694
* R600: Change addresspace in fold-kcache.llVincent Lejeune2013-03-081-12/+12
| | | | | | | AddressSpace definition has changed in a previous commit, reflect it to avoid false failure. llvm-svn: 176693
* AArch64: specify full triple in test as only Linux works for now.Tim Northover2013-03-081-1/+1
| | | | llvm-svn: 176692
* R600/SI: adjust test to recent changesChristian Konig2013-03-081-8/+6
| | | | | Signed-off-by: Christian König <christian.koenig@amd.com> llvm-svn: 176691
* Hexagon: Add patterns for zero extended loads from i1->i64.Jyotsna Verma2013-03-083-0/+49
| | | | llvm-svn: 176689
* AArch64: expand sincos operations, we don't support them.Tim Northover2013-03-082-0/+38
| | | | | | Patch based on Mans Rullgard's. llvm-svn: 176688
* R600/SI: Use source schedulerMichel Danzer2013-03-081-0/+2
| | | | | | | | | | | | | | | This is certainly not the last word on scheduling for this target, but right now this allows a few apps to run / finish with radeonsi, most notably UT2004 / Lightsmark. They fail to compile some shaders with the default scheduler because it ends up trying to spill registers, which we don't support yet (and which is probably a bad idea in general for performance if it can be avoided). NOTE: This is a candidate for the Mesa stable branch. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176687
* Add -verify-misched option.Andrew Trick2013-03-081-0/+9
| | | | | | | | | | This verifies live intervals both before and after scheduling. It's useful for anyone hacking on live interval update. Note that we don't yet pass verification all the time. We don't yet handle updating nonallocatable live intervals perfectly. llvm-svn: 176685
* Another test fix for r176671.David Blaikie2013-03-081-1/+1
| | | | llvm-svn: 176679
OpenPOWER on IntegriCloud