summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix up some comments to be more explicit. Remove some long-commented out code.Jim Ingham2015-06-023-22/+34
| | | | llvm-svn: 238862
* [x86-64 ABI] Fix for PR23082: an assertion failure when passing/returning a ↵Andrea Di Biagio2015-06-022-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrapper union in a full YMM register. This patch fixes an assertion failure in method 'X86_64ABIInfo::GetByteVectorType'. Method 'GetByteVectorType' (in TargetInfo.cpp) is responsible for mapping a QualType 'Ty' (for an argument or return value) to an LLVM IR type that, according to the ABI, must be passed in a XMM/YMM vector register. When selecting the IR vector type, method 'GetByteVectorType' always tries to choose the "best" IR vector type for the 'Ty' in input. In particular, if Ty is a wrapper structure, it keeps unwrapping it until it finds a vector type VTy. That VTy is the "preferred IR type". However, function 'isSingleElementStructure' (used to unwrap structures) does not know how to look through union types. So, before this patch, if Ty was in a nest of wrapper structures with at least two union types, we would have triggered an assertion failure (added at revision 230971). With this patch, if method 'GetByteVectorType' fails to find the preferred vector type, we just return a valid (although potentially 'less friendly') vector type based on the type size. So, rather than asserting on an 'unexpected' 'Ty' in input, we conservatively return vector type <2 x double> if Ty is 16 bytes, or <4 x double> if Ty is 32 bytes. Differential Revision: http://reviews.llvm.org/D10190 llvm-svn: 238861
* Fix PlatformAndroid::PutFile to support relative destination paths.Oleksiy Vyalov2015-06-021-7/+10
| | | | llvm-svn: 238860
* Use wildcard instead of relying on shell globbing.Chaoren Lin2015-06-022-3/+2
| | | | | | | | | | Reviewers: clayborg, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10194 llvm-svn: 238859
* AArch64: fix typo in SMIN far atomics and add testsTim Northover2015-06-023-1/+10
| | | | llvm-svn: 238858
* Check that debugger is valid before enumerating targets.Chaoren Lin2015-06-021-13/+14
| | | | | | | | | | Reviewers: sivachandra Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10192 llvm-svn: 238857
* TestGlobalVariables no longer fails on FreeBSDEd Maste2015-06-021-1/+0
| | | | | | | | It has passed since ~ r223393. llvm.org/21599 llvm-svn: 238856
* add missing dependency for CodeGen libSanjay Patel2015-06-021-0/+1
| | | | | | This looks to be exposed on some bots by r238851. llvm-svn: 238855
* DebugInfo: Really support 2^16 arguments in a subprogramDuncan P. N. Exon Smith2015-06-024-1/+23
| | | | | | | | As a follow-up to r235955, actually support up to 65535 arguments in a subprogram. r235955 missed assembly support, having only tested the new limit via C++ unit tests. Code patch by Amjad Aboud. llvm-svn: 238854
* DebugInfo: Rename testcases from MD* to DI*, NFCDuncan P. N. Exon Smith2015-06-0256-0/+0
| | | | | | As a follow-up to r236120, rename testcases to match the new names. llvm-svn: 238853
* Use new get_signal_number utility function for tests.Chaoren Lin2015-06-023-9/+11
| | | | | | | | | | | | | | | | Summary: This fixes TestLldbGdbServer and TestSendSignal from Windows to Android. This change depends on D10171. Reviewers: clayborg, ovyalov Reviewed By: clayborg, ovyalov Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D10172 llvm-svn: 238852
* add the -mrecip driver flag and process its options (2nd try)Sanjay Patel2015-06-026-1/+213
| | | | | | | | | | | | | | | | | | | The first try to land this (r238055) was reverted due to bot failures caused by the LLVM part of the patch. That was hopefully fixed by r238788, and the LLVM patch was resubmitted at r238842. This is the front-end counterpart to D8982. The -mrecip option interface is based on maintaining compatibility with gcc: https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/i386-and-x86-64-Options.html#index-mrecip_003dopt-1627 https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/RS_002f6000-and-PowerPC-Options.html#index-mrecip-2289 ...while adding more functionality (allowing users to specify the number of refinement steps for each estimate type). Differential Revision: http://reviews.llvm.org/D8989 llvm-svn: 238851
* Added utility function to get correct signal number from remote platform.Chaoren Lin2015-06-021-0/+41
| | | | | | | | | | | | | | | | | Summary: This change adds a utility that uses the `kill -l` command to get the correct signal number. Falls back to using `SBUnixSignals`, and finally `signal.SIG<signal>` if all else fails. Reviewers: tberghammer, clayborg, ovyalov Reviewed By: clayborg, ovyalov Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D10171 llvm-svn: 238850
* Fix OBJCOPY and AR for Android.Chaoren Lin2015-06-021-8/+12
| | | | | | | | | | | | | | Summary: Previously, OBJCOPY was empty because of the missing comma, and ar was just `ar`. Reviewers: ovyalov, tberghammer Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D10175 llvm-svn: 238849
* Implement the first part of N4258 - allocator_traits<X>::is_always_equal. ↵Marshall Clow2015-06-024-1/+91
| | | | | | Also fixes PR#23723 llvm-svn: 238848
* Remove unused KMP_IOMP_NAME macro from kmp.hJonathan Peyton2015-06-021-3/+0
| | | | | | | Getting rid of more iomp references. http://lists.cs.uiuc.edu/pipermail/openmp-dev/2015-June/000659.html llvm-svn: 238847
* Implement uncaught_exceptions() using the newly added hooks in libc++abi, ↵Marshall Clow2015-06-024-7/+60
| | | | | | when available llvm-svn: 238846
* clang-format: Don't try to detect C++ lambdas in other languages.Daniel Jasper2015-06-022-0/+6
| | | | llvm-svn: 238845
* [mips][mcjit] Add support for R_MIPS_PC32.Daniel Sanders2015-06-022-1/+11
| | | | | | | | | | | | | | | | | | Summary: This allows us to resolve relocations for DW_EH_PE_pcrel TType encodings in the exception handling LSDA. Also fixed a nearby typo. Reviewers: petarj, vkalintiris Reviewed By: vkalintiris Subscribers: vkalintiris, llvm-commits Differential Revision: http://reviews.llvm.org/D10127 llvm-svn: 238844
* Push constness through LoopInfo::isLoopHeader and clean it up a bit.Benjamin Kramer2015-06-024-23/+10
| | | | | | NFC. llvm-svn: 238843
* make reciprocal estimate code generation more flexible by adding ↵Sanjay Patel2015-06-0212-58/+358
| | | | | | | | | | | | | | | | | | | command-line options (2nd try) The first try (r238051) to land this was reverted due to bot failures that were hopefully addressed by r238788. This patch adds a TargetRecip class for processing many recip codegen possibilities. The class is intended to handle both command-line options to llc as well as options passed in from a front-end such as clang with the -mrecip option. The x86 backend is updated to use the new functionality. Only -mcpu=btver2 with -ffast-math should see a functional change from this patch. All other x86 CPUs continue to *not* use reciprocal estimates by default with -ffast-math. Differential Revision: http://reviews.llvm.org/D8982 llvm-svn: 238842
* clang-format: [JS] Fix incorrect line length calculation.Daniel Jasper2015-06-022-2/+4
| | | | llvm-svn: 238841
* Change Intel(R) OpenMP* to LLVM* OpenMP* in libomp.rc.varJonathan Peyton2015-06-021-3/+3
| | | | | | Missed some places that referenced the Intel(R) OpenMP* Runtime Library. llvm-svn: 238840
* clang-format: [JS] Array literal detection fix #3.Daniel Jasper2015-06-022-2/+5
| | | | llvm-svn: 238839
* [mips] Add RuntimeDyld tests for currently supported O32 relocations.Daniel Sanders2015-06-021-0/+40
| | | | | | | | | | | | Reviewers: petarj, vkalintiris Reviewed By: vkalintiris Subscribers: vkalintiris, llvm-commits Differential Revision: http://reviews.llvm.org/D10126 llvm-svn: 238838
* [ASan] Fixed tests to pass on Darwin. Patch by Maria Guseva!Yury Gribov2015-06-024-4/+8
| | | | | | Differential Revision: http://reviews.llvm.org/D10159 llvm-svn: 238837
* Mark TestHelloWorld as XTIMEOUT for LinuxTamas Berghammer2015-06-021-0/+1
| | | | | | It is times out on the build bot ~10% of the times llvm-svn: 238836
* clang-format: [JS] Fix another regression when detecting array literals.Daniel Jasper2015-06-022-1/+7
| | | | llvm-svn: 238835
* AVX-512: Implemented VRANGESD and VRANGESS instructions for SKX Implemented ↵Elena Demikhovsky2015-06-022-0/+103
| | | | | | | | | | DAG lowering for all these forms. Added tests for encoding. By Igor Breger (igor.breger@intel.com) llvm-svn: 238834
* Skip TestChangeProcessGroup on FreeBSD for nowEd Maste2015-06-021-0/+1
| | | | | | | | | It consistently times out. The test is already XTIMEOUT'd, but causes tests to take an extra 5 minutes waiting for the timeout to expire. llvm.org/pr23731 llvm-svn: 238833
* clang-format: [JS] Fix regression of detecting array literals.Daniel Jasper2015-06-022-1/+8
| | | | llvm-svn: 238832
* Fix some places where we could call memmove(null,xxx,0) - which is UBMarshall Clow2015-06-021-6/+14
| | | | llvm-svn: 238831
* AVX-512: Shorten implementation of lowerV16X32VectorShuffle()Elena Demikhovsky2015-06-022-42/+88
| | | | | | | using lowerVectorShuffleWithSHUFPS() and other shuffle-helpers routines. Added matching of VALIGN instruction. llvm-svn: 238830
* [mips] Add support for dynamic stack realignment.Vasileios Kalintiris2015-06-0210-10/+442
| | | | | | | | | | | | | | | | | | | | Summary: With this change we are able to realign the stack dynamically, whenever it contains objects with alignment requirements that are larger than the alignment specified from the given ABI. We have to use the $fp register as the frame pointer when we perform dynamic stack realignment. In complex stack frames, with variably-sized objects, we reserve additionally the callee-saved register $s7 as the base pointer in order to reference locals. Reviewers: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8633 llvm-svn: 238829
* In the case where we are copying/moving zero elements, do less workMarshall Clow2015-06-021-2/+6
| | | | llvm-svn: 238828
* Implement uncaught_exceptions() to get a count, rather than a bool. Update ↵Marshall Clow2015-06-023-6/+46
| | | | | | the libc++abi version. Reviewed as http://reviews.llvm.org/D10067 llvm-svn: 238827
* Un-enable TestEvents test on linuxPavel Labath2015-06-021-0/+2
| | | | | | Test still seems to fail about 1/10 runs. Skipping the test, but it a more greppable fashion. llvm-svn: 238826
* Update for LLVM api change.Rafael Espindola2015-06-021-4/+4
| | | | llvm-svn: 238825
* Simplify now that we always use an alignment of 2 for ELF files.Rafael Espindola2015-06-028-185/+118
| | | | | | This saves 123144 bytes out of llvm-nm on powerpc64le. llvm-svn: 238824
* Make vim also output a helpful message in some error cases.Manuel Klimek2015-06-021-0/+2
| | | | | | | | When clang-format encounters a syntax error, it will not format that line; we're now using the same mechanism we're already using in emacs to show a helpful error message to the user. llvm-svn: 238823
* Remove error message when using the fallback style.Manuel Klimek2015-06-022-3/+0
| | | | llvm-svn: 238822
* Revert "ARM: Thumb2 LDRD/STRD supports independent input/output regs"Renato Golin2015-06-024-48/+30
| | | | | | | | | This reverts commit r238795, as it broke the Thumb2 self-hosting buildbot. Since self-hosting issues with Clang are hard to investigate, I'm taking the liberty to revert now, so we can investigate it offline. llvm-svn: 238821
* [LLDB][MIPS] MIPS64 Branch instruction emulation for SW single steppingMohit K. Bhakkad2015-06-022-16/+1870
| | | | | | | | | | Patch by Jaydeep Patil Reviewers: clayborg, jasonmolenda Subscribers: bhushan, mohit.bhakkad, sagar, lldb-commits. Differential Revision: http://reviews.llvm.org/D10155 llvm-svn: 238820
* Change use of keyword 'or' to '||' as keyword not supported by visual ↵Aidan Dodds2015-06-021-2/+2
| | | | | | studio 2013. llvm-svn: 238819
* [AArch64] Add v8.1a atomic instructionsVladimir Sukharev2015-06-0210-5/+694
| | | | | | | | | | | | Patch by: Tom Coxon Reviewers: t.p.northover Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8501 llvm-svn: 238818
* [mips] [IAS] Reformat mips-expansions.s. NFC.Toma Tabacu2015-06-021-33/+32
| | | | | | | | | | | | | | | | | | Summary: Make mips-expansions.s more readable by grouping the instructions with their respective CHECK's. This test is going to get a lot bigger soon and it will become essentially unreadable if the current formatting is kept. I've also made the comments more useful and accurate, and I've restricted the RUN lines to under 80 columns. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10089 llvm-svn: 238817
* Enable TestEvents test on linuxPavel Labath2015-06-021-1/+0
| | | | | | | This test was very inconspicuosly skipped on linux, when it was crashing for local debugging. It seems to work fine with LLGS, so I'm enabling it. llvm-svn: 238816
* [mips] Test both %dtprel_hi and %dtprel_lo instead of testing %dtprel_hi twice.Daniel Sanders2015-06-021-3/+3
| | | | | | The second %dtprel_hi is used on an addiu so it looks like a copy/paste error. llvm-svn: 238815
* [mips] Expand tabs in test/MC/Mips/mips-relocations.sDaniel Sanders2015-06-021-11/+11
| | | | llvm-svn: 238814
* [mips] [IAS] Add support for the .set softfloat/hardfloat directives.Toma Tabacu2015-06-025-0/+74
| | | | | | | | | | | | | | Summary: These directives are used to set the current value of the SoftFloat feature. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits, mpf Differential Revision: http://reviews.llvm.org/D9074 llvm-svn: 238813
OpenPOWER on IntegriCloud