summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* Add one more pattern to fallback movddupBruno Cardoso Lopes2010-09-091-0/+10
| | | | llvm-svn: 113522
* tests: XFAIL a handful of tests on the vg_leak builder, so we can get back toDaniel Dunbar2010-09-099-0/+11
| | | | | | green. llvm-svn: 113491
* Add an elf-dumper utility.Benjamin Kramer2010-09-093-0/+342
| | | | | | | | - Output format and some of the code stolen from macho-dump. - Somewhat incomplete and probably buggy. - Comes with a very basic test. llvm-svn: 113488
* Get rid of the last use of -m64 in FrontendC. This solutionDuncan Sands2010-09-091-2/+2
| | | | | | | of checking for either 4 or 8 is not very satisfactory, but it would catch the original problem (an alignment of 1). llvm-svn: 113485
* Another test that uses -m64. Here too it looks like it can beDuncan Sands2010-09-091-10/+4
| | | | | | | removed. Not that the XTARGET wasn't doing anything since it does nothing without an accompanying XFAIL. llvm-svn: 113484
* On i386, llvm-gcc cannot be assumed to support -m64. Since theseDuncan Sands2010-09-092-3/+3
| | | | | | | tests pass here (i686-linux and x86-64-linux) without -m64, simply remove the -m64. llvm-svn: 113483
* Fix NEON VLD pseudo instruction itineraries that were incorrectly copied fromBob Wilson2010-09-091-1/+1
| | | | | | | the VST pseudos. The VLD/VST scheduling still needs work (see pr6722), but at least we shouldn't confuse the loads with the stores. llvm-svn: 113473
* Relax the "don't unroll loops containing calls" rule. Instead, when a loop ↵Owen Anderson2010-09-081-0/+51
| | | | | | | | | contains a call, lower the unrolling threshold to the optimize-for-size threshold. Basically, for loops containing calls, unrolling can still be profitable as long as the loop is REALLY small. llvm-svn: 113439
* fix rdar://8407548, I missed the commuted form of xchg/test without a suffix.Chris Lattner2010-09-081-0/+6
| | | | llvm-svn: 113427
* Generalize instcombine's support for combining multiple bit checks into a ↵Owen Anderson2010-09-081-1/+347
| | | | | | single test. Patch by Dirk Steinke! llvm-svn: 113423
* fix bugs in push/pop segment support, rdar://8407242Chris Lattner2010-09-082-0/+82
| | | | llvm-svn: 113422
* Re-enable usage of the ARM base pointer. r113394 fixed the known failures.Jim Grosbach2010-09-081-1/+1
| | | | | | Re-running some nightly testers w/ it enabled to verify. llvm-svn: 113399
* Remove ssp from this test.Eric Christopher2010-09-081-1/+1
| | | | llvm-svn: 113392
* Fix CellSPU vector shuffles, again.Kalle Raiskila2010-09-081-0/+26
| | | | | | Some cases of lowering to rotate were miscompiled. llvm-svn: 113355
* add support for the commuted form of the test instruction, rdar://8018260.Chris Lattner2010-09-081-0/+7
| | | | llvm-svn: 113352
* implement proper support for sysret{,l,q}, rdar://8403907Chris Lattner2010-09-082-1/+18
| | | | llvm-svn: 113350
* implement the iret suite of instructions properly,Chris Lattner2010-09-082-0/+27
| | | | | | fixing rdar://8403974 llvm-svn: 113349
* add support for instruction prefixes on the same line as the instruction,Chris Lattner2010-09-081-0/+12
| | | | | | implementing rdar://8033482 and PR7254. llvm-svn: 113348
* gas accepts xchg <mem>, <reg> as a synonym for xchg <reg>, <mem>.Chris Lattner2010-09-081-0/+5
| | | | | | Add this to the mc assembler, fixing PR8061 llvm-svn: 113346
* fix the encoding of the "jump on *cx" family of instructions,Chris Lattner2010-09-083-1/+23
| | | | | | rdar://8061602 llvm-svn: 113343
* disable for the moment while tracking down a few Thumb2-O0 failure that lookJim Grosbach2010-09-081-1/+1
| | | | | | related. (attempt deux, complete w/ test update this time) llvm-svn: 113333
* remove these tests for now.Devang Patel2010-09-073-750/+0
| | | | llvm-svn: 113293
* There is no need to force target if the test is going to run on other x86 ↵Devang Patel2010-09-073-9/+3
| | | | | | platforms. llvm-svn: 113285
* Typo. Thanks to BillW for pointing it out!Stuart Hastings2010-09-071-1/+1
| | | | llvm-svn: 113281
* Fix a serious performance regression introduced by r108687 on linux:Chris Lattner2010-09-071-3/+19
| | | | | | | | turning (fptrunc (sqrt (fpext x))) -> (sqrtf x) is great, but we have to delete the original sqrt as well. Not doing so causes us to do two sqrt's when building with -fmath-errno (the default on linux). llvm-svn: 113260
* rename test.Chris Lattner2010-09-071-0/+0
| | | | llvm-svn: 113257
* Test case for r113248. Raar 8361341.Stuart Hastings2010-09-071-3/+15
| | | | llvm-svn: 113249
* Fix command line used to link these test cases.Devang Patel2010-09-073-3/+3
| | | | llvm-svn: 113237
* Reintroduce dbg-declare tests.Devang Patel2010-09-073-0/+756
| | | | llvm-svn: 113232
* Remove last three tests. I need to make them independent of my setup.Devang Patel2010-09-073-753/+0
| | | | llvm-svn: 113213
* Add a test case to check handling of dbg-declare during hybrid mode where ↵Devang Patel2010-09-071-0/+266
| | | | | | we begin using fast-isel but switch back to DAG building at some point. llvm-svn: 113210
* Add a test case to check handling of dbg-declare by selection DAG builder.Devang Patel2010-09-071-0/+244
| | | | llvm-svn: 113209
* Add a test case to check handling of dbg-declare by fast-isel.Devang Patel2010-09-071-0/+243
| | | | llvm-svn: 113208
* add missing cmov aliases, this resolves rdar://8208499Chris Lattner2010-09-071-0/+7
| | | | llvm-svn: 113189
* "sldt <mem>" is ambiguous in 64-bit mode, but shouldChris Lattner2010-09-061-0/+3
| | | | | | | | always be disambiguated as sldtw. sldtw and sldtq with a mem operands have the same effect, but sldtw is more compact. Force it to sldtw, resolving rdar://8017530 llvm-svn: 113186
* fix rdar://8017621 - llvm-mc can't guess encoding for "push $(1000)"Chris Lattner2010-09-061-0/+5
| | | | llvm-svn: 113184
* fix the operand constraints of the immediate form of in/out,Chris Lattner2010-09-061-0/+9
| | | | | | allowing unsigned 8-bit operands. This fixes rdar://8208481 llvm-svn: 113182
* fix PR8067, an over-aggressive assertion in LICM.Chris Lattner2010-09-061-0/+14
| | | | llvm-svn: 113146
* Teach loop rotate to hoist trivially invariant instructionsChris Lattner2010-09-061-0/+35
| | | | | | | | | | | | | | | in the duplicated block instead of duplicating them. Duplicating them into the end of the loop and the preheader means that we got a phi node in the header of the loop, which prevented LICM from hoisting them. GVN would usually come around later and merge the duplicated instructions so we'd get reasonable output... except that anything dependent on the shoulda-been-hoisted value can't be hoisted. In PR5319 (which this fixes), a memory value didn't get promoted. llvm-svn: 113134
* fix PR8063, a crash in globalopt in the malloc analysis code.Chris Lattner2010-09-051-0/+15
| | | | llvm-svn: 113109
* implement rdar://6653118 - fastisel should fold loads where possible.Chris Lattner2010-09-051-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since mem2reg isn't run at -O0, we get a ton of reloads from the stack, for example, before, this code: int foo(int x, int y, int z) { return x+y+z; } used to compile into: _foo: ## @foo subq $12, %rsp movl %edi, 8(%rsp) movl %esi, 4(%rsp) movl %edx, (%rsp) movl 8(%rsp), %edx movl 4(%rsp), %esi addl %edx, %esi movl (%rsp), %edx addl %esi, %edx movl %edx, %eax addq $12, %rsp ret Now we produce: _foo: ## @foo subq $12, %rsp movl %edi, 8(%rsp) movl %esi, 4(%rsp) movl %edx, (%rsp) movl 8(%rsp), %edx addl 4(%rsp), %edx ## Folded load addl (%rsp), %edx ## Folded load movl %edx, %eax addq $12, %rsp ret Fewer instructions and less register use = faster compiles. llvm-svn: 113102
* Fix LoopSimplify to notify ScalarEvolution when splitting a loop backedgeDan Gohman2010-09-041-0/+50
| | | | | | | into an inner loop, as the new loop iteration may differ substantially. This fixes PR8078. llvm-svn: 113057
* fix a bug in my licm rewrite when a load from the promoted memoryChris Lattner2010-09-041-0/+27
| | | | | | | | location is being re-stored to the memory location. We would get a dangling pointer from the SSAUpdate data structure and miss a use. This fixes PR8068 llvm-svn: 113042
* Propagate non-local comparisons. Fixes PR1757.Owen Anderson2010-09-031-0/+24
| | | | llvm-svn: 113025
* Remove the rest of the nonexistent 64-bit AVX instructions.Dale Johannesen2010-09-031-96/+0
| | | | | | Bruno, please review. llvm-svn: 113014
* Generalize getFieldType to work on all TypedInits. Add a couple of ↵David Greene2010-09-032-0/+24
| | | | | | | | testcases from Amaury Pouly. llvm-svn: 113010
* Add support for simplifying a load from a computed value to a load from a ↵Owen Anderson2010-09-031-0/+18
| | | | | | | | global when it is provable that they're equivalent. This fixes PR4855. llvm-svn: 112994
* Re-apply r112883:Jim Grosbach2010-09-032-10/+3
| | | | | | | | | | | | | | "For ARM stack frames that utilize variable sized objects and have either large local stack areas or require dynamic stack realignment, allocate a base register via which to access the local frame. This allows efficient access to frame indices not accessible via the FP (either due to being out of range or due to dynamic realignment) or the SP (due to variable sized object allocation). In particular, this greatly improves efficiency of access to spill slots in Thumb functions which contain VLAs." r112986 fixed a latent bug exposed by the above. llvm-svn: 112989
* Add a test for PR4413, which was apparently fixed at some point in the past.Owen Anderson2010-09-031-0/+21
| | | | llvm-svn: 112987
* Add PR number to test.Owen Anderson2010-09-031-0/+1
| | | | llvm-svn: 112971
OpenPOWER on IntegriCloud