summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed gdb-remote M test length parameter, added overwrite to test.Todd Fiala2014-06-101-6/+5
| | | | | | | | | | Initial check-in provided a nibble count instead of byte count for the memory to write. Fixed that. Enhanced test to check for overwrite past the expected range of writing to verify the correct amount is written. llvm-svn: 210602
* Clang changes to support LLVM removal of runtime multithreadingZachary Turner2014-06-101-12/+5
| | | | | | | | | | support (llvm revision r210600). Reviewers: rnk Differential Revision: http://reviews.llvm.org/D4077 llvm-svn: 210601
* Remove support for runtime multi-threading.Zachary Turner2014-06-108-80/+43
| | | | | | | | | | | | | | | | | | | | | This patch removes the functions llvm_start_multithreaded() and llvm_stop_multithreaded(), and changes llvm_is_multithreaded() to return a constant value based on the value of the compile-time definition LLVM_ENABLE_THREADS. Previously, it was possible to have compile-time support for threads on, and runtime support for threads off, in which case certain mutexes were not allocated or ever acquired. Now, if the build is created with threads enabled, mutexes are always acquired. A test before/after patch of compiling a very large TU showed no noticeable performance impact of this change. Reviewers: rnk Differential Revision: http://reviews.llvm.org/D4076 llvm-svn: 210600
* Move AArch64InstrInfo to AArch64Subtarget.Eric Christopher2014-06-104-6/+9
| | | | llvm-svn: 210599
* Remove a method that was just replacing direct access to a member.Eric Christopher2014-06-102-20/+18
| | | | llvm-svn: 210598
* lit: warn when passed invalid pathnameHans Wennborg2014-06-101-3/+5
| | | | | | | | | | | | | | | It would previously say things like warning: input 'test/Frontend/foo.c' contained no tests and have the user pull their hair trying to figure out what's wrong with that file. This patch changes the message to the much clearer: warning: no such file or directory: 'test/Frontend/foo.c' Differential Revision: http://reviews.llvm.org/D4097 llvm-svn: 210597
* Remove the use of TargetMachine from X86InstrInfo.Eric Christopher2014-06-103-61/+60
| | | | llvm-svn: 210596
* Move X86RegisterInfo away from using the TargetMachine and onlyEric Christopher2014-06-105-33/+30
| | | | | | using the subtarget. llvm-svn: 210595
* Added gdb-remote test to verify M memory write.Todd Fiala2014-06-102-1/+70
| | | | llvm-svn: 210594
* *Really* fix DOS newlines introduced in r210330Reid Kleckner2014-06-104-345/+345
| | | | | | r210369 didn't quite catch all of them. llvm-svn: 210593
* Remove duplicated codeEd Maste2014-06-101-180/+21
| | | | | | | | | | | | We preivously had two copies of ::BytesAvailable with only trivial differences between them, and fixes have been applied to only one of them. Instead of duplicating the whole function, hide the FD_SET differences behind a macro. This leaves only one small __APPLE__-specific #if block, and fixes ^C on non-__APPLE__ platforms. llvm-svn: 210592
* Mark a few functions noexcept.Rafael Espindola2014-06-107-15/+17
| | | | | | This reduces the difference between std::error_code and llvm::error_code. llvm-svn: 210591
* Mark a few functions noexcept.Rafael Espindola2014-06-101-11/+24
| | | | llvm-svn: 210590
* Use the TargetMachine on the DAG or the MachineFunction insteadEric Christopher2014-06-101-82/+80
| | | | | | of using the cached TargetMachine. llvm-svn: 210589
* R600/SI: Emit an error when attempting to spill VGPRs v4Tom Stellard2014-06-101-10/+24
| | | | | | | | | | | | | | | | | | I can't get VGPR spilling to work reliable, so for now just emit an error when the register allocator tries to spill VGPRs. v2: - Fix build v3: - Added crash fix when spilling SPGRs v4: - Use V_MOV_B32 as a dummy instruction instead of S_NOP Patch by: Darren Powell https://bugs.freedesktop.org/show_bug.cgi?id=75276 llvm-svn: 210588
* R600/SI: Fix a crash when spilling SGPRsTom Stellard2014-06-102-11/+8
| | | | | | | | | | | We need to make sure only one new instruction is added when spilling otherwise the register allocator may crash. This fixes a crash in the game Antichamber. https://bugs.freedesktop.org/show_bug.cgi?id=75276 llvm-svn: 210587
* Try to fix clang-hexagon-elf failure by requiring x86 support for this test.Bob Wilson2014-06-101-0/+1
| | | | llvm-svn: 210586
* PR19992: alignof is permitted on an array of unknown bound.Richard Smith2014-06-102-19/+22
| | | | llvm-svn: 210585
* Fix crash with x86_64-pc-win32-macho target. <rdar://problem/17235840>Bob Wilson2014-06-102-1/+4
| | | | | | | | The changes in r204978 broke win32-macho targets. There were checks added for MSVC and Itanium environments as special cases, and win32-macho needs to be treated the same way. llvm-svn: 210584
* Remove a redundant conditional when caching typo failures.Kaelyn Takata2014-06-101-6/+5
| | | | | | No functionality change. llvm-svn: 210583
* Do not predefine __EXCEPTIONS in clang-cl (PR19977)Hans Wennborg2014-06-102-1/+7
| | | | | | | | Patch by Ehsan Akhgari! (Test tweak by me.) Differential Revision: http://reviews.llvm.org/D4065 llvm-svn: 210582
* Add a LLVM_NOEXCEPT to Compiler.h.Rafael Espindola2014-06-101-0/+6
| | | | | | This will be needed for the switch to std::error_code. llvm-svn: 210581
* We already have a reference to the TargetMachine, use that.Eric Christopher2014-06-101-2/+1
| | | | llvm-svn: 210580
* Have isInTailCallPosition take the DAG so that we can use theEric Christopher2014-06-103-6/+7
| | | | | | | version of TargetLowering/Machine from there on the way to avoiding TargetMachine in TargetLowering. llvm-svn: 210579
* Reorder includes to be sorted.Eric Christopher2014-06-101-1/+1
| | | | llvm-svn: 210578
* fixes duplicate header installationDavid Fang2014-06-101-5/+1
| | | | | | | http://llvm.org/bugs/show_bug.cgi?id=18681 Patch by Ryuta Suzuki <oroppas gmail com> llvm-svn: 210577
* www: Fix grammar.Tobias Grosser2014-06-101-3/+3
| | | | | Reported-by: Jules Gagnon-Marchand <jules_gagnonm@hotmail.com> llvm-svn: 210576
* Rearrange the CHECK lines in this test to make failure more obvious.Reid Kleckner2014-06-101-17/+16
| | | | llvm-svn: 210575
* Revert "Patch by Ray Donnelly to print register names instead of numbers."Reid Kleckner2014-06-102-15/+8
| | | | | | | | | | | | | This reverts commit r206683. The code was confusing SEH register numbers with DWARF register numbers. The test case it was committed with was obviously incorrect. The disassembler was roundtripping '.seh_pushreg %rsi' as '.seh_pushreg %rbp', and other exciting things. Noticed by Vadim Chugunov. llvm-svn: 210574
* Added gdb-remote tests around $qSupported.Todd Fiala2014-06-101-1/+77
| | | | | | | Right now it just checks that qSupported returns at least one recognized gdb stub feature. llvm-svn: 210573
* Fix error in tablegen when either operand of !if is an empty list.Matt Arsenault2014-06-103-7/+16
| | | | | | !if([Something], []) would error with "No type for list". llvm-svn: 210572
* Fix typos.Eric Christopher2014-06-102-2/+2
| | | | llvm-svn: 210571
* Fix mangling of __uuidof after two levels of template instantiationReid Kleckner2014-06-102-0/+17
| | | | llvm-svn: 210570
* R600: Use BCNT_INT for evergreenMatt Arsenault2014-06-105-5/+67
| | | | llvm-svn: 210569
* R600/SI: Implement i64 ctpopMatt Arsenault2014-06-106-1/+155
| | | | llvm-svn: 210568
* R600/SI: Use bcnt instruction for ctpopMatt Arsenault2014-06-107-11/+230
| | | | llvm-svn: 210567
* Use an enum class now that they are available.Rafael Espindola2014-06-101-20/+12
| | | | llvm-svn: 210566
* Objective-C. Don't ignore availability attribute whenFariborz Jahanian2014-06-102-1/+22
| | | | | | | doing Objective-C subscript access. // rdar://16842487 PR19682. llvm-svn: 210565
* R600: Handle fcopysignMatt Arsenault2014-06-107-3/+114
| | | | llvm-svn: 210564
* R600/SI: Handle sign_extend and zero_extend to i64 with patterns.Matt Arsenault2014-06-104-49/+92
| | | | llvm-svn: 210563
* Mark assign to be constepr only in c++14; can't have constexpr fns that ↵Marshall Clow2014-06-101-1/+1
| | | | | | return void in C++11 llvm-svn: 210562
* Make the helper routines in string really be constexpr. This required a bit ↵Marshall Clow2014-06-102-48/+60
| | | | | | of refacoring in algorithm as well. Give them better names while we're at it. All of these are internal rotines; no visible functionality change. llvm-svn: 210561
* A bunch of the char.traits tests were using unicode literals. #ifdef those ↵Marshall Clow2014-06-1018-0/+36
| | | | | | bits out on c++03, since it doesn't support u"" and U "" style strings. llvm-svn: 210560
* Add a FIXME.Eric Christopher2014-06-101-0/+2
| | | | llvm-svn: 210559
* Update Arcanist config to point to reviews.llvm.orgDavid Blaikie2014-06-101-1/+1
| | | | llvm-svn: 210558
* Move AArch64SelectionDAGInfo down to the subtarget.Eric Christopher2014-06-104-4/+6
| | | | llvm-svn: 210557
* [FastISel] Collect statistics about failing intrinsic calls.Juergen Ributzka2014-06-101-1/+50
| | | | | | | Add more instruction-specific statistics about failing intrinsic calls during FastISel. llvm-svn: 210556
* Remove the cached little endian variable. We can get it easily offEric Christopher2014-06-102-7/+4
| | | | | | of the DataLayout. llvm-svn: 210555
* Have AArch64SelectionDAGInfo take a DataLayout parameter ratherEric Christopher2014-06-103-4/+4
| | | | | | than a TargetMachine. llvm-svn: 210554
* Remove caching of the subtarget for AArch64SelectionDAGInfo.Eric Christopher2014-06-102-7/+4
| | | | llvm-svn: 210553
OpenPOWER on IntegriCloud