summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* D9306 omp 4.1 async offload support (partial): build changes for version 4.1Andrey Churbanov2015-05-075-11/+18
| | | | llvm-svn: 236746
* R600: Fix comment that mentions AMDILMatt Arsenault2015-05-071-2/+2
| | | | llvm-svn: 236745
* D9306 omp 4.1 async offload support (partial): added version 4.1 headers.Andrey Churbanov2015-05-076-0/+2201
| | | | llvm-svn: 236744
* Use intrinsic pattern to make a simpler matchSanjay Patel2015-05-071-3/+2
| | | | | | | | | | | | This is a follow-on to r236740 where I took Andrea's advice in D9504 to remove a redundant pattern...except that I removed the wrong pattern! AFAICT, there is no change in the final code produced because subsequent passes would clean up the extra instructions created by the more complicated pattern. llvm-svn: 236743
* [Mips] Update test cases to reflect changes in the yaml2obj toolSimon Atanasyan2015-05-072-2/+5
| | | | | | No functional changes. llvm-svn: 236742
* Fix another hang caused by ManagedStatic in SignalHandlerSteven Wu2015-05-071-4/+11
| | | | | | | | | Fix two other variables that might cause the same hang fixed in r235914. The hang is caused by constructing ManagedStatic in signalhandler. In this case, if FileToRemove or CallBacksToRun is not contructed, it means there is no work to do. llvm-svn: 236741
* [x86] eliminate unnecessary shuffling/moves with unary scalar math ops (PR21507)Sanjay Patel2015-05-073-10/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish the job that was abandoned in D6958 following the refactoring in http://reviews.llvm.org/rL230221: 1. Uncomment the intrinsic def for the AVX r_Int instruction. 2. Add missing r_Int entries to the load folding tables; there are already tests that check these in "test/Codegen/X86/fold-load-unops.ll", so I haven't added any more in this patch. 3. Add patterns to solve PR21507 ( https://llvm.org/bugs/show_bug.cgi?id=21507 ). So instead of this: movaps %xmm0, %xmm1 rcpss %xmm1, %xmm1 movss %xmm1, %xmm0 We should now get: rcpss %xmm0, %xmm0 And instead of this: vsqrtss %xmm0, %xmm0, %xmm1 vblendps $1, %xmm1, %xmm0, %xmm0 ## xmm0 = xmm1[0],xmm0[1,2,3] We should now get: vsqrtss %xmm0, %xmm0, %xmm0 Differential Revision: http://reviews.llvm.org/D9504 llvm-svn: 236740
* Switch lowering: handle zero-weight branch probabilitiesHans Wennborg2015-05-071-16/+7
| | | | | | | | | | After r236617, branch probabilities are no longer guaranteed to be >= 1. This patch makes the swich lowering code handle that correctly, without bumping the branch weights by 1 which might cause overflow and skews the probabilities. Covered by @zero_weight_tree in test/CodeGen/X86/switch.ll. llvm-svn: 236739
* [obj2yaml/yaml2obj] Add SHT_MIPS_ABIFLAGS section supportSimon Atanasyan2015-05-076-2/+320
| | | | | | | This change adds support for the SHT_MIPS_ABIFLAGS section reading/writing to the obj2yaml and yaml2obj tools. llvm-svn: 236738
* [llvm-readobj] Print .MIPS.abiflags section contentSimon Atanasyan2015-05-077-1/+188
| | | | | | | | | This change adds new flag -mips-abi-flags to the llvm-readobj. This flag forces printing of .MIPS.abiflags section content. https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#10.2.1._.MIPS.abiflags llvm-svn: 236737
* Use file locks to synchronize access to ModuleCache.Oleksiy Vyalov2015-05-0712-47/+553
| | | | | | http://reviews.llvm.org/D9056 llvm-svn: 236736
* Update the subversion link to http://subversion.apache.org/packages.html.Yaron Keren2015-05-071-2/+2
| | | | llvm-svn: 236734
* Fix clang getting started guide to require VC2013 instead of VS2012.Yaron Keren2015-05-071-2/+2
| | | | llvm-svn: 236733
* [MIPS] Move MIPS ABI flags structure constants to the separate headerSimon Atanasyan2015-05-073-84/+128
| | | | | | | | | | | http://reviews.llvm.org/D9517 The separate header file allows to reuse the MIPS ABI flags structure constants in other LLVM tools like the llvm-readobj. No functional changes. llvm-svn: 236732
* Adding new AST matcher: gnuNullExprSzabolcs Sipos2015-05-072-0/+9
| | | | | | It matches GNU __null expression. llvm-svn: 236731
* clang-format: Improve r236597, Properly indent method calls without inputs.Daniel Jasper2015-05-073-3/+9
| | | | | | | | | | | | Before: [aaaaaaaaaaaa(aaaaaa) aaaaaaaaaaaaaaaaaaaa]; After: [aaaaaaaaaaaa(aaaaaa) aaaaaaaaaaaaaaaaaaaa]; llvm-svn: 236730
* [ARM] Check overflow of R_ARM_PREL31Denis Protivensky2015-05-072-4/+50
| | | | llvm-svn: 236729
* [llvm-readobj/obj2yaml/yaml2obj] Support more MIPS ELF header flagsSimon Atanasyan2015-05-076-10/+219
| | | | llvm-svn: 236728
* [ARM] llvm_unreachable => make_dynamic_error in R_ARM_BASE_PRELDenis Protivensky2015-05-071-1/+2
| | | | llvm-svn: 236727
* [ARM] llvm_unreachable => make_*_reloc_error in group relocsDenis Protivensky2015-05-071-9/+8
| | | | llvm-svn: 236726
* Increase the timeout limit for TestConcurrentEventsPavel Labath2015-05-071-0/+5
| | | | | | | After recent changes, TestConcurrentEvents began timing out. This increases the timeout limit to 7m for this test, ensure the Test has enough time to complete. llvm-svn: 236725
* [ARM] Return directly from switch in relocation handlerDenis Protivensky2015-05-071-47/+28
| | | | llvm-svn: 236724
* [ARM] Add return codes to relocation handlersDenis Protivensky2015-05-071-76/+95
| | | | llvm-svn: 236723
* Implements a way to retrieve information about whether some lines were not ↵Manuel Klimek2015-05-075-42/+75
| | | | | | formatted due to syntax errors. llvm-svn: 236722
* Masked Gather and Scatter intrinsics - updated documentation.Elena Demikhovsky2015-05-071-2/+113
| | | | llvm-svn: 236721
* Intercept scandir() on FreeBSDViktor Kutuzov2015-05-071-1/+2
| | | | | | Committed unreviewed with premission. llvm-svn: 236720
* Intercept rand_r() on FreeBSDViktor Kutuzov2015-05-071-1/+2
| | | | | | Committed unreviewed with premission. llvm-svn: 236719
* [Msan] Make the mallinfo.cc test Linux-specificViktor Kutuzov2015-05-071-0/+0
| | | | | | Differential Revision: http://reviews.llvm.org/D9461 llvm-svn: 236718
* [Msan] Make the ioctl_sound.cc test Linux-specificViktor Kutuzov2015-05-071-0/+0
| | | | | | Differential Revision: http://reviews.llvm.org/D9460 llvm-svn: 236717
* A small fix in rL236696Mohit K. Bhakkad2015-05-071-0/+4
| | | | llvm-svn: 236716
* AVX-512: FP compare intrinsics - changed type of CC parameter from i8 to i32 ↵Elena Demikhovsky2015-05-073-2/+92
| | | | | | | | according to the spec. Added FP compare intrinsics for SKX. llvm-svn: 236715
* AVX-512: Added all forms of FP compare instructions for KNL and SKX.Elena Demikhovsky2015-05-0717-317/+1345
| | | | | | | | Added intrinsics for the instructions. CC parameter of the intrinsics was changed from i8 to i32 according to the spec. By Igor Breger (igor.breger@intel.com) llvm-svn: 236714
* [mips] Add the SoftFloat MipsSubtarget feature.Toma Tabacu2015-05-0712-87/+436
| | | | | | | | | | | | | | Summary: This will enable the IAS to reject floating point instructions if soft-float is enabled. Reviewers: dsanders, echristo Reviewed By: dsanders Subscribers: jfb, llvm-commits, mpf Differential Revision: http://reviews.llvm.org/D9053 llvm-svn: 236713
* Attributes.h: Fix incorrect \brief introduced in r236666. [-Wdocumentation]NAKAMURA Takumi2015-05-071-1/+1
| | | | llvm-svn: 236712
* Scalar/PlaceSafepoints.cpp: Fix a warning introduced in r228090. ↵NAKAMURA Takumi2015-05-071-4/+2
| | | | | | [-Wunused-variable] llvm-svn: 236711
* llvm/test/CodeGen/X86/llc-override-mcpu-mattr.ll: Tweak not to be affected ↵NAKAMURA Takumi2015-05-071-4/+6
| | | | | | by x64 Calling Convention. llvm-svn: 236710
* Mark clang/test/CodeGenCXX/microsoft-abi-thread-safe-statics.cpp as ↵NAKAMURA Takumi2015-05-071-0/+2
| | | | | | REQUIRES:asserts. It relies on label names. llvm-svn: 236709
* Skip few MiStartupOptionsTestCase tests to get Linux build greenIlia K2015-05-071-0/+2
| | | | llvm-svn: 236708
* [NativeProcessLinux] Remove logging and error callbacksPavel Labath2015-05-072-296/+156
| | | | | | | | | | | | | | | | Summary: These are remnants of the thread state coordinator, which are now unnecessary. I have basically inlined the callbacks. No functional change. Test Plan: Tests continue to pass. Reviewers: chaoren, vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9343 llvm-svn: 236707
* Fix some glitches in the MSVCCompatibility documentDavid Majnemer2015-05-071-2/+2
| | | | | | | | - Fix the formatting of the "Exceptions and SEH" section. - Make the "Complete" text for "Thread-safe initialization of local statics" green. llvm-svn: 236706
* Implement -target-attach and -target-detachIlia K2015-05-079-2/+491
| | | | | | | | | | | | | | | | | | | | | Summary: This changes add -target-attach and -target-detach. -target-attach allows lldb-mi to attach to an existing process by it's process id, matching gdb mi's syntax of '-target-attach <pid'. Additionally, support has been added for attaching to a process by name using '-target-attach -n <name>'. Combining this with --waitfor will allow lldb mi to attach to a process by name when the process starts. -target-detach simply detaches from the current process Patch from chuckr@microsoft.com Test Plan: I have added three tests, one each for -target-attach <pid>, -target-attach -n <name>, and -target-attach -n <name> --waitfor Reviewers: paulmaybee, abidh, ChuckR Subscribers: greggm, lldb-commits Differential Revision: http://reviews.llvm.org/D9484 llvm-svn: 236705
* Minor changes in the MiStartupOptionsTestCase (MI)Ilia K2015-05-072-7/+7
| | | | llvm-svn: 236704
* Add -s/--source option support (MI)Ilia K2015-05-077-5/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch adds -s/--source option to execute source file with prepared command. For example: ``` $ cat start_script target create ~/p/hello process launch -s continue $ bin/lldb-mi -s start_script (gdb) target create ~/p/hello Current executable set to '~/p/hello' (x86_64). ^done (gdb) process launch -s =shlibs-added,shlib-info=[num="1",name="hello",dyld-addr="-",reason="dyld",path="/Users/IliaK/p/hello",loaded_addr="-",dsym-objpath="/Users/IliaK/p/hello.dSYM/Contents/Resources/DWARF/hello"] Process 33289 launched: '/Users/IliaK/p/hello' (x86_64) ^done (gdb) continue =thread-created,id="1",group-id="i1" =thread-selected,id="1" (gdb) Process 33289 resuming Process 33289 exited with status = 0 (0x00000000) ^done ``` Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/ Reviewers: abidh Reviewed By: abidh Subscribers: lldb-commits, abidh Differential Revision: http://reviews.llvm.org/D9278 llvm-svn: 236703
* Remove quit hook in CMIDriver::DoMainLoop (MI)Ilia K2015-05-073-14/+49
| | | | | | | | | | | | | | | | | | | | Summary: This patch removes quit hook and fixes 1 bug: # Fix "quit" hook in CMIDriver::DoMainLoop (MI) # Fix bug when the handler thread exits without any notification (MI) # Fix a race condition in CMICmnLLDBDebugger::MonitorSBListenerEvents (MI) Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/ Reviewers: abidh Reviewed By: abidh Subscribers: lldb-commits, abidh Differential Revision: http://reviews.llvm.org/D9275 llvm-svn: 236702
* Fix for http://llvm.org/PR23392: magick/feature.c from ImageMagick-6.9.1-2 ICEs.Alexey Bataev2015-05-073-4/+15
| | | | | | | Fix for codegen of static variables declared inside of captured statements. Captured statements are actually a transparent DeclContexts, so we have to skip them when trying to get a mangled name for statics. Differential Revision: http://reviews.llvm.org/D9522 llvm-svn: 236701
* Fix ClangUserExpression::Evaluate return code in case of eExpressionParseErrorIlia K2015-05-071-2/+3
| | | | | | | | | | | | | | Summary: This patch fixes retvalue of ClangUserExpression::Evaluate in case of eExpressionParseError error Reviewers: jingham, spyffe, clayborg Reviewed By: clayborg Subscribers: lldb-commits, clayborg, spyffe, jingham Differential Revision: http://reviews.llvm.org/D9502 llvm-svn: 236700
* Don't call the Process::SyncIOHandler in Target::LaunchIlia K2015-05-072-13/+6
| | | | | | | | | | | | | | Summary: This patch moves synchronization of iohandler to CommandObjectProcessLaunch::DoExecute like it was done in CommandObjectProcessContinue::DoExecute. Reviewers: jingham, clayborg Reviewed By: clayborg Subscribers: lldb-commits, clayborg, jingham Differential Revision: http://reviews.llvm.org/D9373 llvm-svn: 236699
* Note that we support 'throw' for the MS ABI.David Majnemer2015-05-071-2/+3
| | | | llvm-svn: 236698
* [MS ABI] Implement thread-safe initialization using the MSVC 2015 ABIDavid Majnemer2015-05-078-82/+310
| | | | | | | | | The MSVC 2015 ABI utilizes a rather straightforward adaptation of the algorithm found in the appendix of N2382. While we are here, implement support for emitting cleanups if an exception is thrown while we are intitializing a static local variable. llvm-svn: 236697
* [LLDB][MIPS] Software single steppingMohit K. Bhakkad2015-05-075-10/+76
| | | | | | | | | | Patch by Jaydeep Patil Reviewers: clayborg, jasonmolenda Subscribers: bhushan, mohit.bhakkad, sagar, lldb-commits. Differential Revision: http://reviews.llvm.org/D9519 llvm-svn: 236696
OpenPOWER on IntegriCloud