summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* LSR: rewrite inner loops only.Andrew Trick2011-09-296-9/+24
| | | | | | | | Rewriting the entire loop nest now requires -enable-lsr-nested. See PR11035 for some performance data. A few unit tests specifically test nested LSR, and are now under a flag. llvm-svn: 140762
* whitespaceAndrew Trick2011-09-291-245/+245
| | | | llvm-svn: 140761
* PTX: Add new patterns for bitconvert and any_extendJustin Holewinski2011-09-291-5/+9
| | | | llvm-svn: 140753
* Tighten a ARM dag combine condition to avoid an identity transformation, whichEvan Cheng2011-09-281-0/+30
| | | | | | | | ends up introducing a cycle in the DAG. rdar://10196296 llvm-svn: 140733
* PR11033: Make sure we don't generate PCMPGTQ and PCMPEQQ if the target CPU ↵Eli Friedman2011-09-281-0/+35
| | | | | | does not support them. llvm-svn: 140723
* PTX: MC-ize the PTX back-end (patch 1 of N)Justin Holewinski2011-09-284-4/+4
| | | | | | | | Lay some groundwork for converting to MC-based asm printer. This is the first of probably many patches to bring the back-end back up-to-date with all of the recent MC changes. llvm-svn: 140697
* Check in a patch that has already been code reviewed by Owen that I'd ↵James Molloy2011-09-283-0/+87
| | | | | | | | | | | | forgotten to commit. Build on previous patches to successfully distinguish between an M-series and A/R-series MSR and MRS instruction. These take different mask names and have a *slightly* different opcode format. Add decoder and disassembler tests. Improvement on the previous patch - successfully distinguish between valid v6m and v7m masks (one is a subset of the other). The patch had to be edited slightly to apply to ToT. llvm-svn: 140696
* Test case for r140670: indvars should hoist sext.Andrew Trick2011-09-281-0/+28
| | | | llvm-svn: 140671
* PR10628: Fix getModRefInfo so it queries the underlying alias() ↵Eli Friedman2011-09-281-1/+16
| | | | | | implementation correctly while checking nocapture calls. llvm-svn: 140666
* Remove X86-dependent stuff from SSEDomainFix.Jakob Stoklund Olesen2011-09-272-3/+3
| | | | | | | | | This also enables domain swizzling for AVX code which required a few trivial test changes. The pass will be moved to lib/CodeGen shortly. llvm-svn: 140659
* ARM Thumb2 asm parsing [SU]XT[BH] without rotate but with .w.Jim Grosbach2011-09-271-1/+8
| | | | | | | | Add inst alias to handle these assembly forms. Add tests, too. rdar://10178799 llvm-svn: 140647
* test/CMakeLists.txt: Depend on llvm-objdump. "make check" is expected to ↵NAKAMURA Takumi2011-09-271-1/+1
| | | | | | resolve test-dependent targets on CMake build. llvm-svn: 140641
* Stop emitting instructions with the name "tmp" they eat up memory and have ↵Benjamin Kramer2011-09-278-37/+37
| | | | | | | | to be uniqued, without any benefit. If someone prefers %tmp42 to %42, run instnamer. llvm-svn: 140634
* Add binary archive support to llvm-nm.Michael J. Spencer2011-09-273-0/+17
| | | | llvm-svn: 140627
* Unbreak tests.Michael J. Spencer2011-09-272-0/+0
| | | | llvm-svn: 140622
* PTX: Add support for sitofp in backendJustin Holewinski2011-09-272-0/+66
| | | | llvm-svn: 140593
* Split the landing pad basic block with the correct function. Also merge theBill Wendling2011-09-271-0/+67
| | | | | | | split landingpad instructions into a PHI node. PR11016 llvm-svn: 140592
* Last batch of test conversions to new atomic instructions.Eli Friedman2011-09-2711-1954/+963
| | | | llvm-svn: 140585
* Convert a bunch more tests over to the new atomic instructions.Eli Friedman2011-09-2610-1088/+69
| | | | llvm-svn: 140582
* Fix an incorrect decoder test.Owen Anderson2011-09-261-2/+2
| | | | llvm-svn: 140579
* Remove incorrect testcases.Owen Anderson2011-09-261-4/+0
| | | | llvm-svn: 140572
* Convert more tests to new atomic instructions.Eli Friedman2011-09-263-35/+19
| | | | llvm-svn: 140567
* Convert more tests over to the new atomic instructions. Eli Friedman2011-09-266-1504/+1367
| | | | | | | | I did not convert Atomics-32.ll and Atomics-64.ll by hand; the diff is autoupgrade output. The wmb test is gone because there isn't any way to express wmb with the new atomic instructions; if someone really needs a non-asm way to write a wmb on Alpha, a platform-specific intrisic could be added. llvm-svn: 140566
* Convert more tests over to the new atomic instructions.Eli Friedman2011-09-264-65/+23
| | | | llvm-svn: 140559
* Upgrade a couple more tests to the new atomic instructions.Eli Friedman2011-09-262-12/+5
| | | | llvm-svn: 140558
* Enhance alias analysis for atomic instructions a bit. Upgrade a couple ↵Eli Friedman2011-09-262-6/+2
| | | | | | alias-analysis tests to the new atomic instructions. llvm-svn: 140557
* Fix this test so it doesn't fail on Mac.Eli Friedman2011-09-261-6/+6
| | | | llvm-svn: 140553
* PTX: Fix detection of stack load/store vs. global load/store, as well as fix theJustin Holewinski2011-09-261-2/+2
| | | | | | printing of local offsets llvm-svn: 140547
* Fix emission of debug data for global variables. getContext() on ↵James Molloy2011-09-261-0/+47
| | | | | | DIGlobalVariables is not valid any more. llvm-svn: 140539
* PTX: Add .align tests to stack object test fileJustin Holewinski2011-09-261-2/+11
| | | | llvm-svn: 140537
* PTX: Fix some lingering issues with stack allocationJustin Holewinski2011-09-261-0/+10
| | | | llvm-svn: 140535
* PTX: Unify handling of loads/storesJustin Holewinski2011-09-262-130/+0
| | | | llvm-svn: 140533
* Only run tests in test/CodeGen/CBackend/X86 when both X86 and CBackend are ↵David Meyer2011-09-261-1/+1
| | | | | | supported llvm-svn: 140517
* PR11004: Inline memcpy to avoid generating nested call sequence. Un-XFAIL ↵David Meyer2011-09-262-6/+1
| | | | | | 2011-06-09-TailCallByVal and 2010-11-04-BigByval llvm-svn: 140516
* Fix VEX decoding in i386 mode. Fixes PR11008.Craig Topper2011-09-261-0/+289
| | | | llvm-svn: 140515
* Only run MF.verify() with EXPENSIVE_CHECKS=1.Jakob Stoklund Olesen2011-09-241-3/+0
| | | | llvm-svn: 140441
* Verify that terminators follow non-terminators.Jakob Stoklund Olesen2011-09-231-0/+3
| | | | | | This exposes a -segmented-stacks bug. llvm-svn: 140429
* PR10998: It is not legal to sink an instruction past the terminator of a ↵Eli Friedman2011-09-231-0/+43
| | | | | | block; make sure we don't do that. llvm-svn: 140428
* Teach the Thumb2 AsmParser to accept pre-indexed loads/stores with an offset ↵Owen Anderson2011-09-231-0/+2
| | | | | | of #-0. llvm-svn: 140426
* Also match negative offsets for addrmode3 and addrmode5.Jakob Stoklund Olesen2011-09-231-0/+18
| | | | | | | | Math is hard, and isScaledConstantInRange() always returned false for negative constants. It was doing unsigned division of negative numbers before casting back to signed. llvm-svn: 140425
* Fix incorrect disassembly test.Owen Anderson2011-09-231-1/+1
| | | | llvm-svn: 140423
* Post-index loads/stores in still need to print the post-indexed immediate, ↵Owen Anderson2011-09-231-0/+7
| | | | | | even if it's zero, to distinguish them from non-post-indexed instructions. llvm-svn: 140420
* Reapply r140412 (Thumb2 reg-reg loads cannot target SP or PC), with invalid ↵Owen Anderson2011-09-231-2/+2
| | | | | | testcases updated. llvm-svn: 140415
* PTX: Handle function call return valuesJustin Holewinski2011-09-231-0/+13
| | | | llvm-svn: 140386
* PTX: Start fixing function callsJustin Holewinski2011-09-231-2/+1
| | | | llvm-svn: 140378
* Don't allow 32-bit only instructions to be disassembled in 64-bit mode. ↵Craig Topper2011-09-231-7/+4
| | | | | | Fixes part of PR10700. llvm-svn: 140370
* PR10989: Don't print .hidden on Windows.Eli Friedman2011-09-231-6/+13
| | | | llvm-svn: 140356
* PR10991: make fast-isel correctly check whether accessing a global through ↵Eli Friedman2011-09-221-1/+17
| | | | | | an alias involves thread-local storage. (I'm not entirely sure how this is supposed to work, but this patch makes fast-isel consistent with the normal isel path.) llvm-svn: 140355
* Fix SimplifySelectCC to add newly created nodes to the DAGCombinerDan Gohman2011-09-221-6/+6
| | | | | | worklist, as it may be possible to perform further optimization on them. llvm-svn: 140349
* Synthesize SSE3/AVX 128 bit horizontal add/sub instructions fromDuncan Sands2011-09-221-0/+194
| | | | | | | floating point add/sub of appropriate shuffle vectors. Does not synthesize the 256 bit AVX versions because they work differently. llvm-svn: 140332
OpenPOWER on IntegriCloud