summaryrefslogtreecommitdiffstats
path: root/llvm/test
Commit message (Collapse)AuthorAgeFilesLines
* Second try of initial ARM/Thumb disassembler check-in. It consists of a tablgenJohnny Chen2010-04-023-0/+184
| | | | | | | | | | backend (ARMDecoderEmitter) which emits the decoder functions for ARM and Thumb, and the disassembler core which invokes the decoder function and builds up the MCInst based on the decoded Opcode. Reviewed by Chris Latter and Bob Wilson. llvm-svn: 100233
* Correctly lower memset / memcpy of undef. It should be a nop. PR6767.Evan Cheng2010-04-022-5/+15
| | | | llvm-svn: 100208
* Revert r100191 since it breaks objc in clang Mon P Wang2010-04-027-10/+8
| | | | llvm-svn: 100199
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-027-8/+10
| | | | | | | Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) llvm-svn: 100191
* Manually notify ScalarEvolution before making an operand replacement, sinceDan Gohman2010-04-021-0/+41
| | | | | | it can't currently observe such changes automatically. llvm-svn: 100186
* Revert the recent alignment changes. They're broken for -Os because,Dan Gohman2010-04-023-8/+2
| | | | | | | in particular, they end up aligning strings at 16-byte boundaries, and there's no way for GlobalOpt to check OptForSize. llvm-svn: 100172
* After trivial coalescing, the MI being visited may have become a copy. Avoid ↵Evan Cheng2010-04-021-0/+70
| | | | | | | | adding it to CSE hash table since copies aren't being considered for CSE and they may be deleted. rdar://7819990 llvm-svn: 100170
* Remove this initializer so that the optimizer doesn't convertDan Gohman2010-04-021-1/+1
| | | | | | unaligned loads into aligned loads. llvm-svn: 100166
* Update this test for the new preferred alignment heuristics.Dan Gohman2010-04-021-1/+1
| | | | llvm-svn: 100165
* Make globalopt refine global variable alignment.Dan Gohman2010-04-021-0/+6
| | | | llvm-svn: 100160
* In 64-bit mode, use i64 to lower memcpy / memset instead of f64.Evan Cheng2010-04-012-9/+25
| | | | llvm-svn: 100137
* - Avoid using floating point stores to implement memset unless the value is ↵Evan Cheng2010-04-011-2/+10
| | | | | | | | zero. - Do not try to infer GV alignment unless its type is sized. It's not possible to infer alignment if it has opaque type. llvm-svn: 100118
* Add -mcpu to memcpy / memset tests to ensure they behave the same on all ↵Evan Cheng2010-04-013-9/+8
| | | | | | hosts / targets. llvm-svn: 100101
* Fix sdisel memcpy, memset, memmove lowering:Evan Cheng2010-04-017-56/+130
| | | | | | | | | | | | | 1. Makes it possible to lower with floating point loads and stores. 2. Avoid unaligned loads / stores unless it's fast. 3. Fix some memcpy lowering logic bug related to when to optimize a load from constant string into a constant. 4. Adjust x86 memcpy lowering threshold to make it more sane. 5. Fix x86 target hook so it uses vector and floating point memory ops more effectively. rdar://7774704 llvm-svn: 100090
* change this from using '!dbg' to using '!dbgx'. TheChris Lattner2010-04-011-4/+4
| | | | | | MD used here isn't valid for !dbg. llvm-svn: 100085
* Add a redundant PHI testcase for SSAUpdater to go with svn r100047.Bob Wilson2010-03-311-0/+46
| | | | llvm-svn: 100050
* testcase for r99914, provided by baldrick!Gabor Greif2010-03-311-0/+18
| | | | llvm-svn: 100043
* Replace V_SET0 with variants for each SSE execution domain.Jakob Stoklund Olesen2010-03-316-7/+8
| | | | llvm-svn: 99975
* Fix typo. Thank you, valgrind.Jakob Stoklund Olesen2010-03-311-1/+1
| | | | llvm-svn: 99974
* Not all platforms start symbols with _Jakob Stoklund Olesen2010-03-302-6/+6
| | | | llvm-svn: 99959
* Enable -sse-domain-fix by default. Now with tests!Jakob Stoklund Olesen2010-03-309-45/+59
| | | | llvm-svn: 99954
* Revert Mon Ping's change 99928, since it broke all the llvm-gcc buildbots.Bob Wilson2010-03-306-8/+8
| | | | llvm-svn: 99948
* Ignore invalid metadata.Devang Patel2010-03-301-0/+30
| | | | llvm-svn: 99938
* Added support for address spaces and added a isVolatile field to memcpy, ↵Mon P Wang2010-03-306-8/+8
| | | | | | | | | memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) A update of langref will occur in a subsequent checkin. llvm-svn: 99928
* Remove the pmulld intrinsic and autoupdate it as a vector multiply.Eric Christopher2010-03-304-1/+19
| | | | | | | Rewrite the pmulld patterns, and make sure that they fold in loads of arguments into the instruction. llvm-svn: 99910
* XFAIL some PIC16 tests when running under valgrind-leaks. I don't expect theseBenjamin Kramer2010-03-306-0/+6
| | | | | | to be fixed any time soon. llvm-svn: 99888
* MC/Mach-O/x86_64: Support @GOTPCREL on symbols, even for non-PCrel relocations!Daniel Dunbar2010-03-291-18/+53
| | | | llvm-svn: 99853
* Fix PR4975. Avoid referencing empty vector.Evan Cheng2010-03-291-0/+17
| | | | llvm-svn: 99840
* From Kalle Raiskila:Chris Lattner2010-03-291-0/+17
| | | | | | | | "the bigstack patch for SPU, with testcase. It is essentially the patch committed as 97091, and reverted as 97099, but with the following additions: -in vararg handling, registers are marked to be live, to not confuse the register scavenger -function prologue and epilogue are not emitted, if the stack size is 16. 16 means it is empty - there is only the register scavenger emergency spill slot, which is not used as there is no stack." llvm-svn: 99819
* add support for zero initialized unions, patch by Tim Northover!Chris Lattner2010-03-291-0/+2
| | | | llvm-svn: 99818
* teach tblgen to allow patterns like (add (i32 (bitconvert (i32 GPR))), 4), Chris Lattner2010-03-281-3/+7
| | | | | | | | | transforming it into (add (i32 GPR), 4). This allows us to write type generic multi patterns and have tblgen automatically drop the bitconvert in the case when the types align. This allows us to fold an extra load in the changed testcase. llvm-svn: 99756
* add some nounwindsChris Lattner2010-03-281-12/+12
| | | | llvm-svn: 99752
* this takes an insane amount of time to run, disable it for now (PR6727)Chris Lattner2010-03-281-1/+3
| | | | llvm-svn: 99751
* XFAIL a new tblgen test for memory leak checking.Jeffrey Yasskin2010-03-271-0/+1
| | | | llvm-svn: 99707
* Do not sibcall if stack needs to be dynamically aligned.Evan Cheng2010-03-261-0/+11
| | | | llvm-svn: 99620
* Allow trivial sibcall of vararg callee when no arguments are being passed.Evan Cheng2010-03-263-6/+37
| | | | llvm-svn: 99598
* Try trivial remat before the coalescer gives up on a vr / physreg coalescing ↵Evan Cheng2010-03-263-2/+17
| | | | | | for fear of tying up a physical register. llvm-svn: 99575
* switch the flag for using NEON for SP floating point to a subtarget 'feature'.Jim Grosbach2010-03-2517-29/+20
| | | | | | Re-commit. This time complete with testsuite updates. llvm-svn: 99570
* Add nounwind.Evan Cheng2010-03-251-1/+1
| | | | llvm-svn: 99546
* Reapply Kevin's change 94440, now that Chris has fixed the limitation onBob Wilson2010-03-252-0/+84
| | | | | | opcode values fitting in one byte (svn r99494). llvm-svn: 99514
* Fix evil TableGen bug in template parameters with defaults.Jakob Stoklund Olesen2010-03-251-0/+43
| | | | | | | | | | If a TableGen class has an initializer expression containing an X.Y subexpression, AND X depends on template parameters, AND those template parameters have defaults, AND some parameters with defaults are beyond position 1, THEN parts of the initializer expression are evaluated prematurely with the default values when the first explicit template parameter is substituted, before the remaining explicit template parameters have been substituted. llvm-svn: 99492
* fix PR6642, GVN forwarding from memset to load of the base of the memset.Chris Lattner2010-03-251-0/+12
| | | | llvm-svn: 99488
* Make the NDEBUG assertion stronger and more clear what is Chris Lattner2010-03-256-6/+5
| | | | | | | | | | | | | | | | | | | | | happening. Enhance scheduling to set the DEAD flag on implicit defs more aggressively. Before, we'd set an implicit def operand to dead if it were present in the SDNode corresponding to the machineinstr but had no use. Now we do it in this case AND if the implicit def does not exist in the SDNode at all. This exposes a couple of problems: one is the FIXME, which causes a live intervals crash on CodeGen/X86/sibcall.ll. The second is that it makes machinecse and licm more aggressive (which is a good thing) but also exposes a case where licm hoists a set0 and then it doesn't get resunk. Talking to codegen folks about both these issues, but I need this patch in in the meantime. llvm-svn: 99485
* Reapply r99451 with a fix to move the NoInline check to the cost functionsEric Christopher2010-03-251-0/+18
| | | | | | instead of InlineFunction. llvm-svn: 99483
* Make sure this runs in 64-bit only, 32-bit won't produce the correct stores.Eric Christopher2010-03-251-1/+1
| | | | | | Fariborz please review and make sure this is what you meant. llvm-svn: 99472
* MC: Fix refacto in MCExpr evaluation, I mistakenly replaced a fragment ↵Daniel Dunbar2010-03-251-24/+166
| | | | | | | | address with a symbol address. - This fixes the integrated-as nightly test regressions. llvm-svn: 99466
* Temporarily revert this, it's causing an issue with an internal project.Eric Christopher2010-03-241-18/+0
| | | | llvm-svn: 99451
* Speculatively revert this to see if it fixes buildbot failures.Bob Wilson2010-03-242-84/+0
| | | | | | | | | | | | --- Reverse-merging r99440 into '.': U test/MC/AsmParser/X86/x86_32-bit_cat.s U test/MC/AsmParser/X86/x86_32-encoding.s U include/llvm/IntrinsicsX86.td U include/llvm/CodeGen/SelectionDAGNodes.h U lib/Target/X86/X86InstrSSE.td U lib/Target/X86/X86ISelLowering.h llvm-svn: 99450
* Added the Advanced Encryption Standard (AES) Instructions.Kevin Enderby2010-03-242-0/+84
| | | | llvm-svn: 99440
* Fixed the SS42AI template for the SSE 4.2 instructions with TA prefix so it doesKevin Enderby2010-03-241-0/+8
| | | | | | | | not get an "Unknown immediate size" assert failure when used. All instructions of this form have an 8-bit immediate. Also added a test case of an example instruction that is of this form. llvm-svn: 99435
OpenPOWER on IntegriCloud