summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added lldbsuite.lldb_test_root, switched formatter to use it.Todd Fiala2015-12-072-5/+10
| | | | llvm-svn: 254894
* Add uint8_t size to LegalizeAction enum so we can use the enum type directly ↵Craig Topper2015-12-071-12/+11
| | | | | | and remove some casts. NFC llvm-svn: 254893
* [LLDB][MIPS] Marking some expected failuresMohit K. Bhakkad2015-12-072-11/+17
| | | | | | | | Reviewers: clayborg, zturner. Subscribers: jaydeep, bhushan, sagar, nitesh.jain, tberghammer,lldb-commits. Differential Revision: http://reviews.llvm.org/D14944 llvm-svn: 254892
* Moved total test count and rerun count into summary counts.Todd Fiala2015-12-071-8/+22
| | | | llvm-svn: 254891
* Move test summary counts to end; simplify issue detail lineTodd Fiala2015-12-071-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test summary counts now show at the end, with issue details above. Issue details now print "ISSUE_TYPE: test method (relative path)". Relative paths are relative to the packages/Python/lldbsuite/test directory. Sample output: test/dotest.py --executable `pwd`/build/Debug/lldb --results-formatter lldbsuite.test.basic_results_formatter.BasicResultsFormatter --threads 12 Testing: 415 test suites, 12 threads 415 out of 415 test suites processed - TestLldbGdbServer.py Test Results Total Test Methods Run (excluding reruns): 2470 Test Method rerun count: 0 Details: UNEXPECTED SUCCESS: test_symbol_name_dsym (functionalities/completion/TestCompletion.py) UNEXPECTED SUCCESS: test_symbol_name_dwarf (functionalities/completion/TestCompletion.py) =================== Test Result Summary =================== Success: 1329 Expected Failure: 79 Failure: 0 Error: 0 Unexpected Success: 2 Skip: 1060 llvm-svn: 254890
* Fix PR20334: invalid assertion while diagnosing list initialization failureFaisal Vali2015-12-072-1/+23
| | | | | | | | | | | | | https://llvm.org/bugs/show_bug.cgi?id=20334 Unfortunately, clang currently checks for a certain brokenness of implementations of std::initializer_list in CodeGen (void AggExprEmitter::VisitCXXStdInitializerListExpr), not in SemaInit. Until that is fixed, make sure we don't let broken attempts that are aggregates leak through into sema, which allows maintenance of expected invariants, and avoids triggering an assertion. llvm-svn: 254889
* [llvm-objdump/MachoDump] Make code much more concise.Davide Italiano2015-12-071-20/+5
| | | | llvm-svn: 254888
* [Verifier] Fix !dbg validation if Scope is the SubprogramKeno Fischer2015-12-063-2/+30
| | | | | | | | | | | | | | | | | | Summary: We are inserting both Scope and SP into the Seen map and check whether it was already there in which case we skip the validation (the idea being that we already checked this Subprogram before). However, if (Scope == SP) as MDNodes, then inserting the Scope, will trigger the Seen check causing us to incorrectly not validate this !dbg attachment. Fix this by not performing the SP Seen check if Scope == SP Reviewers: pcc, dexonsmith, dblaikie Subscribers: dblaikie, llvm-commits Differential Revision: http://reviews.llvm.org/D14697 llvm-svn: 254887
* [X86][AVX] Tidied up BROADCASTPD/BROADCASTPS testsSimon Pilgrim2015-12-061-45/+72
| | | | | | Regenerate tests using update_llc_test_checks.py llvm-svn: 254886
* [Orc] Rename IndirectStubsManagerBase to IndirectStubsManager.Lang Hames2015-12-067-9/+11
| | | | | | No functional change. llvm-svn: 254885
* [WebAssembly] Factor out a TypeToString function, since we need it in ↵Dan Gohman2015-12-063-31/+24
| | | | | | multiple places. llvm-svn: 254884
* [WebAssembly] Make tableswitch's 'default' operand explicit. NFC.Dan Gohman2015-12-061-6/+6
| | | | llvm-svn: 254883
* [WebAssembly] Enable folding of offsets into global variable addresses.Dan Gohman2015-12-063-8/+56
| | | | llvm-svn: 254882
* [WebAssembly] Tighten up some testcase regular expressions.Dan Gohman2015-12-063-13/+13
| | | | llvm-svn: 254881
* [WebAssembly] Add some more ideas to README.txt.Dan Gohman2015-12-061-0/+43
| | | | llvm-svn: 254880
* [x86] add missing maxnum/minnum tests for 256-bit vectorsSanjay Patel2015-12-062-42/+66
| | | | | | | | Also, switch to x86-64 because once we can lower these to something more reasonable, there will be less noise in the checks. And add AVX runs because those will be different than SSE. llvm-svn: 254879
* Create llvm.global_ctors in the new format.Rafael Espindola2015-12-062-4/+4
| | | | llvm-svn: 254878
* [X86] Add support for loopz, loopnz for Intel syntaxMarina Yatsina2015-12-062-2/+7
| | | | | | | | According to x86 spec, loopz and loopnz should be supported for Intel syntax, where loopz is equivalent to loope and loopnz is equivalent to loopne. Differential Revision: http://reviews.llvm.org/D15148 llvm-svn: 254877
* [PGO] Instrument only base constructors and destructors.Serge Pavlov2015-12-069-34/+67
| | | | | | | | | | | | | | | | Constructors and destructors may be represented by several functions in IR. Only base structors correspond to source code, others are small pieces of code and eventually call the base variant. In this case instrumentation of non-base structors has little sense, this fix remove it. Now profile data of a declaration corresponds to exactly one function in IR, it agrees with the current logic of the profile data loading. This change fixes PR24996. Differential Revision: http://reviews.llvm.org/D15158 llvm-svn: 254876
* [X86][AVX512] add vmovss/sd missing encoding Asaf Badouh2015-12-066-39/+245
| | | | | | Differential Revision: http://reviews.llvm.org/D14701 llvm-svn: 254875
* [X86] Always generate precise CFA adjustments.Michael Kuperstein2015-12-067-25/+65
| | | | | | | | | | This removes the code path that generate "synchronous" (only correct at call site) CFA. We will probably want to re-introduce it once we are capable of emitting different .eh_frame and .debug_frame sections. Differential Revision: http://reviews.llvm.org/D14948 llvm-svn: 254874
* AVX512: support AVX512BW Intrinsic in 32bit mode.Igor Breger2015-12-062-53/+1139
| | | | | | Differential Revision: http://reviews.llvm.org/D15076 llvm-svn: 254873
* Use make_range to reduce mentions of iterator type. NFCCraig Topper2015-12-0625-139/+105
| | | | llvm-svn: 254872
* Minor formatting fix. NFCCraig Topper2015-12-061-1/+1
| | | | llvm-svn: 254871
* Use llvm::make_range to reduce mentions of iterator type. NFCCraig Topper2015-12-064-12/+7
| | | | llvm-svn: 254870
* [InstCombine] Call getCmpPredicateForMinMax only with a valid SPFSanjoy Das2015-12-053-1/+30
| | | | | | | | | | | | | | | | Summary: There are `SelectPatternFlavor`s that don't represent min or max idioms, and we should not be passing those to `getCmpPredicateForMinMax`. Fixes PR25745. Reviewers: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D15249 llvm-svn: 254869
* [llvm-readobj] report_error() does not return, so we can simplify.Davide Italiano2015-12-051-6/+2
| | | | llvm-svn: 254868
* 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
OpenPOWER on IntegriCloud