summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash in ASTDumper when dumping NamedDecl with NULL getQualifier().Dawn Perchik2015-12-051-3/+6
| | | | | | | | Reviewed by: aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D15254 llvm-svn: 254867
* [WebAssembly] Don't perform the returned-argument optimization on constants.Dan Gohman2015-12-052-0/+17
| | | | llvm-svn: 254866
* Plug-in PlatformNetBSD initializer and terminatorKamil Rytarowski2015-12-051-0/+2
| | | | | | | | | | | | Summary: Other platform parts needed to build this code are already merged. Reviewers: emaste, clayborg Subscribers: joerg, lldb-commits Differential Revision: http://reviews.llvm.org/D15066 llvm-svn: 254865
* [WebAssembly] Replace the fake JUMP_TABLE instruction with a def : Pat. NFC.Dan Gohman2015-12-051-5/+2
| | | | llvm-svn: 254864
* [WebAssembly] Implement direct calls to external symbols.Dan Gohman2015-12-054-9/+59
| | | | llvm-svn: 254863
* Add vector fmaxnum tests that correspond to the existing fminnum testsSanjay Patel2015-12-051-0/+47
| | | | | Note: missing 256-bit tests for min and max should also be added. llvm-svn: 254862
* [WebAssembly] Support inline asm constraints of type i16 and similar.Dan Gohman2015-12-052-4/+23
| | | | llvm-svn: 254861
* fix typo; NFCSanjay Patel2015-12-051-1/+1
| | | | llvm-svn: 254860
* [WebAssembly] Update a stale comment. NFC.Dan Gohman2015-12-051-2/+2
| | | | llvm-svn: 254859
* Document NetBSD platform support on the webpageKamil Rytarowski2015-12-055-4/+25
| | | | | | | | | | | | Summary: It's high time. Reviewers: emaste, clayborg Subscribers: labath, joerg, lldb-commits Differential Revision: http://reviews.llvm.org/D14904 llvm-svn: 254858
* WebAssembly: improve readme, add placeholder for tests.JF Bastien2015-12-052-0/+11
| | | | llvm-svn: 254857
* [WebAssembly] Move useAA() out of line to make it more convenient to ↵Dan Gohman2015-12-052-1/+2
| | | | | | experiment with. llvm-svn: 254856
* [WebAssembly] Call TargetPassConfig base class functions in overriding ↵Dan Gohman2015-12-051-1/+11
| | | | | | functions. llvm-svn: 254855
* [WebAssembly] Expand frem as a floating point library function.Dan Gohman2015-12-051-1/+2
| | | | llvm-svn: 254854
* Define new builder_netbsdKamil Rytarowski2015-12-052-0/+6
| | | | | | | | | | | | Summary: This is used in tests. Reviewers: emaste, tfiala, clayborg Subscribers: zturner, lldb-commits, joerg Differential Revision: http://reviews.llvm.org/D15065 llvm-svn: 254853
* [Hexagon] Don't call getNumImplicitDefs and then iterate over the count. ↵Craig Topper2015-12-051-24/+25
| | | | | | getNumImplicitDefs contains a loop so its better to just loop over the null terminated implicit def list. NFC llvm-svn: 254852
* [ASAN] Add doFinalization to reset stateKeno Fischer2015-12-052-0/+19
| | | | | | | | | | | | | | | Summary: If the same pass manager is used for multiple modules ASAN complains about GlobalsMD being initialized twice. Fix this by resetting GlobalsMD in a new doFinalization method to allow this use case. Reviewers: kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14962 llvm-svn: 254851
* [LLDB][MIPS] Fix TestConstVariables.pySagar Thakur2015-12-051-0/+1
| | | | | | | | | | | Patch by Nitesh Jain. Summary: There is no debug information generated for variable index with –O3 optimization flag. The DW_AT_location tag in DWARF debug_info section is empty. Reviewers: ovyalov, clayborg Subscribers: lldb-commits, mohit.bhakkad, sagar, bhushan, jaydeep Differential: http://reviews.llvm.org/D15224 llvm-svn: 254850
* [X86][3DNow!] Stripped backend codegen testsSimon Pilgrim2015-12-051-26/+0
| | | | | | | | As discussed on the ml, backend tests need to be put in llvm/test/CodeGen/X86 as fast-isel tests using IR that is as close to what is generated here as possible. The llvm tests will (re)added in a future commit llvm-svn: 254849
* Updated test names to match the intrinsics being testedSimon Pilgrim2015-12-052-14/+14
| | | | llvm-svn: 254848
* [X86][F16C] Stripped backend codegen testsSimon Pilgrim2015-12-051-6/+4
| | | | | | | | | | As discussed on the ml, backend tests need to be put in llvm/test/CodeGen/X86 as fast-isel tests using IR that is as close to what is generated here as possible. The llvm tests will (re)added in a future commit I will update PR24580 on this new plan llvm-svn: 254847
* [AST] Use std::copy and std::fill to simplify some memcpy and memset calls. ↵Craig Topper2015-12-051-5/+7
| | | | | | Also const-correct some methods being used since the std::copy catches the mismatch where memcpy didn't. llvm-svn: 254846
* Use std::copy and std::transform instead of manual loops. NFCCraig Topper2015-12-051-17/+16
| | | | llvm-svn: 254845
* [X86][ADX] Added memory folding patterns and stack folding testsSimon Pilgrim2015-12-052-0/+51
| | | | llvm-svn: 254844
* Replace uint16_t with the MCPhysReg typedef in many places. A lot of ↵Craig Topper2015-12-0521-96/+98
| | | | | | physical register arrays already use this typedef. llvm-svn: 254843
* Use std::fill instead of memset to initialize an array to avoid hardcoded ↵Craig Topper2015-12-051-1/+1
| | | | | | count and a multiply. The outputed code is identical. llvm-svn: 254842
* [X86][FMA4] Explicitly set the domain of FMA4 float/double scalar instructionsSimon Pilgrim2015-12-052-30/+33
| | | | | | Both were defaulting to the float domain - now matches the packed instructions. llvm-svn: 254841
* [ELF/AArch64] Allow only valid dynamic relocations in the output.Igor Kudrin2015-12-0518-55/+167
| | | | | | | | | All relocations, which cannot be handled by the dynamic linker, cause a linking error "rebuild with -fPIC". Differential revision: http://reviews.llvm.org/D15193 llvm-svn: 254840
* Pass profile version info to name API (NFC)Xinliang David Li2015-12-051-1/+4
| | | | llvm-svn: 254839
* [PGO] Add version to getPGOFuncName methodXinliang David Li2015-12-053-7/+15
| | | | | | | | | Different version of indexed format may use different name uniquing schemes for static functions. Pass the version info to the name interface so that different schmes can be picked (for profile lookup). llvm-svn: 254838
* Normalize successors' probabilities when building MBBs for jump table.Cong Hou2015-12-052-1/+3
| | | | llvm-svn: 254837
* [llvm-dwp] Add coverage for both the presence and absence of type units, and ↵David Blaikie2015-12-054-28/+42
| | | | | | fix/remove the emission of a broken tu_index when no type units are present llvm-svn: 254833
* Use macro for common code pattern (NFC)Xinliang David Li2015-12-051-9/+15
| | | | llvm-svn: 254831
* [llvm-dwp] Fix the type_units.test since I renamed its inputs as wellDavid Blaikie2015-12-051-1/+1
| | | | llvm-svn: 254830
* [llvm-dwp] Rename the sufficiently-modified test to reflect it's non-simplicityDavid Blaikie2015-12-055-0/+0
| | | | llvm-svn: 254829
* [llvm-dwp] clang-format this to catch anything I've missed along the wayDavid Blaikie2015-12-051-12/+13
| | | | llvm-svn: 254828
* [llvm-dwp] Support debug_tu_indexDavid Blaikie2015-12-056-66/+160
| | | | llvm-svn: 254827
* [WebAssembly] Implement ReverseBranchCondition, and re-enable ↵Dan Gohman2015-12-0510-45/+321
| | | | | | | | | | | | | MachineBlockPlacement This patch introduces a codegen-only instruction currently named br_unless, which makes it convenient to implement ReverseBranchCondition and re-enable the MachineBlockPlacement pass. Then in a late pass, it lowers br_unless back into br_if. Differential Revision: http://reviews.llvm.org/D14995 llvm-svn: 254826
* [libFuzzer] one more trophieKostya Serebryany2015-12-051-0/+2
| | | | llvm-svn: 254825
* [libFuzzer] don't reload the corpus more than once every secondKostya Serebryany2015-12-051-1/+6
| | | | llvm-svn: 254824
* Revert "[x86] Exclusion of incorrect include headers paths for MCU target"Reid Kleckner2015-12-052-57/+20
| | | | | | | | | | This reverts commit r254195. From the description, I suspect that the wrong patch was committed here, and this is causing assertion failures in EmitDeferred() when the global value ends up being a bitcast of a global. llvm-svn: 254823
* Whitespace.Lang Hames2015-12-051-2/+2
| | | | llvm-svn: 254821
* [opt] Fix run-twice option for non-idempotent passesKeno Fischer2015-12-051-7/+11
| | | | | | | | | | Cloning the module was supposed to guard against the possibility that the passes may be non-idempotent. However, for some reason I decided to put that AFTER the passes had already run on the module, defeating the point entirely. Fix that by moving up the CloneModule as is done in llc. llvm-svn: 254819
* [CMake] Add COMPILER_RT_TSAN_DEBUG_OUTPUT option.Alexey Samsonov2015-12-051-0/+7
| | | | | | | | | This option builds TSan runtime with extra debug printfs and stats collection. This build configuration is developer-only and should rarely be used, but we need to keep it to make sure it doesn't bitrot. llvm-svn: 254818
* [WebAssembly] Remove an obsolete TODO comment.Dan Gohman2015-12-051-1/+0
| | | | llvm-svn: 254817
* [MC] Add a test for state reset in MCMachOStreamerKeno Fischer2015-12-051-0/+12
| | | | | | | | This was fixed in r254751, but untestable until r254774, which added the necessary command line flag to llc. Add a test now to make sure this doesn't regress again. llvm-svn: 254814
* Fix a typo in LoopVectorize.cpp. NFC.Cong Hou2015-12-051-1/+1
| | | | llvm-svn: 254813
* [WebAssembly] Fix scheduling dependencies in register-stackified codeDan Gohman2015-12-053-13/+74
| | | | | | | | | | | Add physical register defs to instructions used from stackified instructions to prevent them from being scheduled into the middle of a stack sequence. This is a conservative measure which may be loosened in the future. Differential Revision: http://reviews.llvm.org/D15252 llvm-svn: 254811
* CodeGen: Let the BumpPtrAllocator free the elements of indexListJustin Bogner2015-12-051-0/+5
| | | | | | | | The indexList's nodes are all allocated on a BumpPtrAllocator, so it's more efficient to let them be freed when it goes away, rather than deleting them directly. This is a follow up to r254794. llvm-svn: 254808
* [WebAssembly] Support constant offsets on loads and storesDerek Schuff2015-12-0511-117/+128
| | | | | | | | | This is just prototype for load/store for i32 types. I'll add them to the rest of the types if we like this direction. Differential Revision: http://reviews.llvm.org/D15197 llvm-svn: 254807
OpenPOWER on IntegriCloud