summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* R600/SI: Set 20-bit immediate byte offset for SMRD on VIMarek Olsak2014-12-076-20/+85
| | | | llvm-svn: 223614
* [x86] Clean up the SSE1 test to use a slightly different pattern forChandler Carruth2014-12-071-7/+7
| | | | | | | | matching offsets. I don't expect this to really matter, but its what the latest incarnation of my script for maintaining these tests happens to produce, and so its simpler for me if everything matches. llvm-svn: 223613
* [x86] Switch a constant selection test to use positive assertions and toChandler Carruth2014-12-071-5/+17
| | | | | | | store to real pointers so that its clear that the right code is in fact being generated. llvm-svn: 223612
* [x86] Cleanup the combining vector shuffle tests a bit by mergingChandler Carruth2014-12-071-62/+18
| | | | | | identical checks for different SSE variants into a single block. llvm-svn: 223611
* [x86] Clean up the shift lowering vector shuffle tests a bit using myChandler Carruth2014-12-074-93/+26
| | | | | | | script. Notably this folds all the SSE cases together into a single FileCheck block. It also adds a vex prefix. llvm-svn: 223610
* clang-format: Don't merge lines with comments.Daniel Jasper2014-12-072-0/+8
| | | | | | | | | | | | | | Before: int f() { // comment return 42; } After: int f() { // comment return 42; } This fixes llvm.org/PR21769. llvm-svn: 223609
* Drop unused 'docs' directoryTobias Grosser2014-12-073-155/+0
| | | | llvm-svn: 223608
* Update to the latest version of islTobias Grosser2014-12-075-4/+7
| | | | | | | | | | Isl now specifically marks modulo operations that are compared against zero. They can be implemented with the C/LLVM remainder operation. We also update a couple of test cases where the output of isl has slightly changed. llvm-svn: 223607
* www-todo: No need to directly integrate with the basic block vectorizerTobias Grosser2014-12-071-7/+0
| | | | llvm-svn: 223606
* www-todo: We assume accesses to fixed-size arrays are in-boundsTobias Grosser2014-12-071-2/+2
| | | | llvm-svn: 223605
* R600/SI: Update instruction conversions for VIMarek Olsak2014-12-073-1/+48
| | | | | | | | | There are 3 changes: - Convert 32-bit S_LSHL/LSHR/ASHR to their V_*REV variants for VI - Lower RSQ_CLAMP for VI - Don't generate MIN/MAX_LEGACY on VI llvm-svn: 223604
* R600/SI: Add VI instructionsMarek Olsak2014-12-0712-651/+1439
| | | | llvm-svn: 223603
* R600/SI: Add SCC Defs/Uses to SOP1 and SOP2 opcodesMarek Olsak2014-12-071-28/+49
| | | | llvm-svn: 223602
* Give lit.cfg's threading options default values when not defined.Eric Fiselier2014-12-071-5/+4
| | | | llvm-svn: 223601
* Mark a couple of tests as XFAIL with older compilers.Eric Fiselier2014-12-072-0/+7
| | | | llvm-svn: 223600
* Consolidate error reporting in lit.cfgEric Fiselier2014-12-071-36/+23
| | | | llvm-svn: 223599
* Revert parts of r223594. Use DYLD_LIBRARY_PATH on OSX when running tests.Eric Fiselier2014-12-071-1/+4
| | | | llvm-svn: 223598
* Fix apple clang detection in lit.cfgEric Fiselier2014-12-061-1/+1
| | | | llvm-svn: 223597
* Add some file content to avoid test failures on content-addressed file systems.Richard Smith2014-12-062-0/+2
| | | | llvm-svn: 223596
* Add test file missed from r223561.Richard Smith2014-12-061-0/+3
| | | | llvm-svn: 223595
* Unify and cleanup rpath handling in tests.Eric Fiselier2014-12-061-10/+3
| | | | llvm-svn: 223594
* [libcxx] Add logic to probe compiler in tests.Eric Fiselier2014-12-061-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch probes the cxx compiler used during testing by getting it to dump its predefined macros. Based on the value of these macros the compiler name and compiler name + version are added to the available features. There are three compiler names: - `clang` - `apple-clang` - `gcc`. The available features added are equivalent to: - `'%s' % compiler_name` - `'%s-%s.%s' % compiler_name, major_version, minor_version` This information can be used to XFAIL tests on different compilers / versions. Reviewers: mclow.lists, danalbert, jroelofs Reviewed By: jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6399 llvm-svn: 223593
* Add support for building and testing libc++ without threads to CMake.Eric Fiselier2014-12-064-11/+48
| | | | | | | | | | | Currently hacks must be used in to configure and build libc++ without threads when using CMake. This patch adds CMake options to enable/disable building with threads and a monotonic clock. This patch also propagates the configuration information to lit so the tests are properly configured as well. llvm-svn: 223591
* Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperlyEric Fiselier2014-12-061-0/+5
| | | | llvm-svn: 223590
* Turn some DenseMaps that are only used for set operations into DenseSets.Benjamin Kramer2014-12-064-19/+15
| | | | | | DenseSet has better memory efficiency now. llvm-svn: 223589
* Make the DenseMap bucket type configurable and use a smaller bucket for ↵Benjamin Kramer2014-12-064-108/+133
| | | | | | | | | | | | | | DenseSet. DenseSet used to be implemented as DenseMap<Key, char>, which usually doubled the memory footprint of the map. Now we use a compressed set so the second element uses no memory at all. This required some surgery on DenseMap as all accesses to the bucket now have to go through methods; this should have no impact on the behavior of DenseMap though. The new default bucket type for DenseMap is a slightly extended std::pair as we expose it through DenseMap's iterator and don't want to break any existing users. llvm-svn: 223588
* Reapply "LLVMContext: Store APInt/APFloat directly into the ConstantInt/FP ↵Benjamin Kramer2014-12-063-50/+32
| | | | | | | | DenseMaps." This reapplies r223478 with a fix for 32 bit targets. llvm-svn: 223586
* ConstantFold: Don't optimize comparisons with weak linkage objectsDavid Majnemer2014-12-062-1/+9
| | | | | | | | | | | | Consider: void f() {} void __attribute__((weak)) g() {} bool b = &f != &g; It's possble for g to resolve to f if --defsym=g=f is passed on to the linker. llvm-svn: 223585
* I didn't intend to commit this change.David Majnemer2014-12-061-1/+1
| | | | llvm-svn: 223584
* InstSimplify: Optimize away useless unsigned comparisonsDavid Majnemer2014-12-063-1/+98
| | | | | | Code like X < Y && Y == 0 should always be folded away to false. llvm-svn: 223583
* Reformat.NAKAMURA Takumi2014-12-062-29/+21
| | | | llvm-svn: 223580
* R600/SI: Restore PrivateGlobalPrefix to the default ELF value of ".L"Tom Stellard2014-12-062-2/+5
| | | | | | This was changed in r223323. llvm-svn: 223579
* Rename a couple of preprocessor symbols to be more descriptive. NFC.Paul Robinson2014-12-063-11/+11
| | | | | | Review feedback from recent changes to GetSVN.cmake. llvm-svn: 223578
* [modules] If we import a module, and we've seen a module map that describes theRichard Smith2014-12-0610-4/+60
| | | | | | | | | module, use the path from the module map file in preference to the path from the .pcm file when resolving relative paths in the .pcm file. This allows diagnostics (and .d output) to give relative paths if the module was found via a relative path. llvm-svn: 223577
* Avoid angle brackets in comment. [-Wdocumentation-html]NAKAMURA Takumi2014-12-061-1/+1
| | | | llvm-svn: 223576
* Fixed an unfortunate reversed conditional thatSean Callanan2014-12-061-1/+1
| | | | | | resulted in hard-to-track-down crashes. Sigh. llvm-svn: 223575
* IR: Disallow function-local metadata attachmentsDuncan P. N. Exon Smith2014-12-066-7/+17
| | | | | | | | Metadata attachments to instructions cannot be function-local. This is part of PR21532. llvm-svn: 223574
* LLVMInstrumentation requires MC since r223532.NAKAMURA Takumi2014-12-061-1/+1
| | | | llvm-svn: 223573
* Fix typoMatt Arsenault2014-12-061-4/+5
| | | | llvm-svn: 223572
* Add a proper triple to switch-jump-table.llHans Wennborg2014-12-061-1/+1
| | | | llvm-svn: 223571
* llvm/test/CodeGen/X86/switch-jump-table.ll: Add explicit triple. Local ↵NAKAMURA Takumi2014-12-061-1/+1
| | | | | | labels have a prefix "." for targeting i686-cygming. llvm-svn: 223570
* Improvements to FastDemangler to correct parsing of <local-name> encodings ↵Kate Stone2014-12-061-0/+4
| | | | | | for string literal and parameter/entity cases. Patch courtesy of slydiman. llvm-svn: 223569
* Reverting r223548 which broke running in the shell on OS X.Jim Ingham2014-12-065-50/+31
| | | | llvm-svn: 223568
* [X86] Refactor PMOV[SZ]Xrm to add missing AVX2 patterns.Ahmed Bougacha2014-12-066-533/+614
| | | | | | | | Most patterns will go away once the extload legalization changes land. Differential Revision: http://reviews.llvm.org/D6125 llvm-svn: 223567
* SelectionDAG switch lowering: Replace unreachable default with most popular ↵Hans Wennborg2014-12-064-23/+98
| | | | | | | | | | | | | | | | | | case. This can significantly reduce the size of the switch, allowing for more efficient lowering. I also worked with the idea of exploiting unreachable defaults by omitting the range check for jump tables, but always ended up with a non-neglible binary size increase. It might be worth looking into some more. SimplifyCFG currently does this transformation, but I'm working towards changing that so we can optimize harder based on unreachable defaults. Differential Revision: http://reviews.llvm.org/D6510 llvm-svn: 223566
* Add the ability to set breakpoints with conditions, commands, etc,Jim Ingham2014-12-0628-114/+504
| | | | | | | | | | | | | | in the "dummy-target". The dummy target breakpoints prime all future targets. Breakpoints set before any target is created (e.g. breakpoints in ~/.lldbinit) automatically get set in the dummy target. You can also list, add & delete breakpoints from the dummy target using the "-D" flag, which is supported by most of the breakpoint commands. This removes a long-standing wart in lldb... <rdar://problem/10881487> llvm-svn: 223565
* IR: Disallow complicated function-local metadataDuncan P. N. Exon Smith2014-12-066-66/+81
| | | | | | | | | | Disallow complex types of function-local metadata. The only valid function-local metadata is an `MDNode` whose sole argument is a non-metadata function-local value. Part of PR21532. llvm-svn: 223564
* No memcpy for copy ctor with -fsanitize-address-field-padding=1Kostya Serebryany2014-12-062-2/+4
| | | | | | | | | | | | | | | | | | | Summary: When -fsanitize-address-field-padding=1 is present don't emit memcpy for copy constructor. Thanks Nico for the extra test case. Test Plan: regression tests Reviewers: thakis, rsmith Reviewed By: rsmith Subscribers: rsmith, cfe-commits Differential Revision: http://reviews.llvm.org/D6515 llvm-svn: 223563
* Fix for xunit output to work around issue in Jenkins when tests are at the ↵Chris Matthews2014-12-061-1/+1
| | | | | | root level llvm-svn: 223562
* PR21217: Slightly more eagerly load -fmodule-map-file= files and provideRichard Smith2014-12-065-18/+12
| | | | | | diagnostics if they don't exist. Based on a patch by John Thompson! llvm-svn: 223561
OpenPOWER on IntegriCloud