summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* *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
* Move DataLayout onto the AArch64 subtarget.Eric Christopher2014-06-104-11/+15
| | | | llvm-svn: 210552
* Test commit, wraps some lines to fit in 80 columns.Zachary Turner2014-06-101-2/+4
| | | | llvm-svn: 210551
* Don't inherit dll attributes to deleted methods (PR19988)Hans Wennborg2014-06-102-3/+10
| | | | | | | | | | | | | We would previously end up with an error when instantiating the following template: template <typename> struct __declspec(dllimport) S { void foo() = delete; }; S<int> s; error: attribute 'dllimport' cannot be applied to a deleted function llvm-svn: 210550
* Move AArch64FrameLowering into the subtarget.Eric Christopher2014-06-104-5/+11
| | | | llvm-svn: 210549
* Remove the uses of AArch64TargetMachine and AArch64Subtarget fromEric Christopher2014-06-105-16/+9
| | | | | | AArch64FrameLowering. llvm-svn: 210548
* Objective-C IRGen. Patch to generate a weak symbol reference whenFariborz Jahanian2014-06-102-4/+19
| | | | | | | | 'super' dispatches a class method in category for OBJC_METACLASS. This is when class is a weak_import class. // rdar://16529125 llvm-svn: 210547
* Do Materialize Floating Point in Mips Fast-IselReed Kotler2014-06-102-2/+61
| | | | | | | | | | | | | | | | | Summary: Implement materialize of floating point literals in Mips Fast-Isel Reopened version of D3659 Test Plan: simplestorefp1.ll Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D4071 llvm-svn: 210546
* [X86] Improved target combine rules for selecting horizontal add/sub.Andrea Di Biagio2014-06-102-3/+105
| | | | | | | | | | | | | This patch slightly changes the algorithm introduced at revision 210477 to fix a problem where the algorithm was producing incorrect code for the VEX.256 encoded versions of horizontal add/sub. For these cases, we now try to split the two 256-bit vectors into 128-bit chunks before emitting horizontal add/sub dag nodes. Added a new test case into haddsub-2.ll. llvm-svn: 210545
* Hexagon: Expand i1 SELECT_CCTom Stellard2014-06-101-0/+1
| | | | | | | | il is legal for Hexagon, so I should have marked this as Expand for SELECT_CC when I removed setOperationAction(ISD::SELECT_CC, MVT::Other, Expand); in r210541. llvm-svn: 210544
OpenPOWER on IntegriCloud