summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [AVX512] Strengthen type constraints on my rounding mode inputs and some ↵Craig Topper2016-05-181-16/+23
| | | | | | immediate inputs. llvm-svn: 269886
* [AVX512] Strengthen type checks on the X86ISD::SELECT node. Saves over 800 ↵Craig Topper2016-05-182-6/+16
| | | | | | bytes in the DAG isel table by removing type checks for the condition operand which is always a vector or scalar of i1 matching the the number of elements in the other operands. llvm-svn: 269885
* Strengthen type assertion for ISD::VSELECT ensuring that the condition has ↵Craig Topper2016-05-181-1/+1
| | | | | | the name number of elements as the destination type. llvm-svn: 269884
* [mips][microMIPS] Implement LH, LHE, LHU and LHUE instructions and add ↵Zlatko Buljan2016-05-1814-18/+169
| | | | | | | | CodeGen support Differential Revision: http://reviews.llvm.org/D15418 llvm-svn: 269883
* [LSAN] Fix test swapcontext.cc on MIPSSagar Thakur2016-05-184-8/+14
| | | | | | | | | There is no frame validity check in the slow unwinder like there is in the fast unwinder due to which lsan reports a leak even for heap allocated coroutine in the test swapcontext.cc. Since mips/linux uses slow unwindwer instead of fast unwinder, the test fails for mips/linux. Therefore adding the checks before unwinding fixes the test for mips/linux. Reviewed by aizatsky. Differential: http://reviews.llvm.org/D19961 llvm-svn: 269882
* [RuntimeDyld] Thread Error through some APIs, remove calls to ↵Lang Hames2016-05-184-58/+18
| | | | | | report_fatal_error. llvm-svn: 269881
* Various improvements to the public IRGen interface.John McCall2016-05-184-87/+145
| | | | llvm-svn: 269880
* [Sema,CodeGen] Remove comment from SemaChecking about a ↵Craig Topper2016-05-182-20/+3
| | | | | | | | builtin_shufflevector form that it doesn't support. Remove CodeGen support for the same form since it could never have been used due to the missing support in Sema. I couldn't find any documentation that this form existed either. Nor is there documentation for one of the remaining two forms, but there is a testcase that uses it. llvm-svn: 269879
* [X86] Add immediate range checks for many of the builtins.Craig Topper2016-05-183-51/+259
| | | | | | This time allow -128 to 255 for builtins that use a char type immediate." llvm-svn: 269878
* remove use of Mutex in favour of std::{,recursive_}mutexSaleem Abdulrasool2016-05-18139-1806/+1680
| | | | | | | | | | This is a pretty straightforward first pass over removing a number of uses of Mutex in favor of std::mutex or std::recursive_mutex. The problem is that there are interfaces which take Mutex::Locker & to lock internal locks. This patch cleans up most of the easy cases. The only non-trivial change is in CommandObjectTarget.cpp where a Mutex::Locker was split into two. llvm-svn: 269877
* [X86] Remove GCC builtin from add/sub/mul/div ss/sd intrinsics. These ↵Craig Topper2016-05-181-8/+8
| | | | | | | | haven't been used as builtins in clang for a long time. Can probably remove the intrinsics entirely, but that will require more work. llvm-svn: 269876
* findAllSymbols: Prune unused libdeps.NAKAMURA Takumi2016-05-181-3/+0
| | | | llvm-svn: 269875
* FindAllSymbolsTests doesn't require clangToolingCore.NAKAMURA Takumi2016-05-181-1/+0
| | | | llvm-svn: 269874
* include-fixer: They require clangLex.NAKAMURA Takumi2016-05-183-0/+3
| | | | llvm-svn: 269873
* Delete default in fully covered switch.Rafael Espindola2016-05-181-1/+0
| | | | llvm-svn: 269872
* Don't pass relocation-model= to tests that don't need it.Rafael Espindola2016-05-1823-46/+46
| | | | | | | Very few things in MC itself use the option. Most of the code that that uses it could be move to CodeGen. llvm-svn: 269871
* IncludeFixerTest.cpp: Add explicit triple for some tests. They are failing ↵NAKAMURA Takumi2016-05-181-2/+4
| | | | | | for targeting *-win32. llvm-svn: 269870
* Fix use-after-free ASan failures for modules / PCH files that deserialize ↵Richard Smith2016-05-182-7/+35
| | | | | | abi_tag or no_sanitize attributes. llvm-svn: 269869
* [codeview] Move Symbol / Type enum defs into CodeView.hZachary Turner2016-05-173-31/+31
| | | | | | | This fixes a build breakage that would otherwise only be fixable through a circular header dependency. llvm-svn: 269868
* [codeview] Some cleanup of Symbol Records.Zachary Turner2016-05-1711-388/+414
| | | | | | | | | | | | | | * Reworks the CVSymbolTypes.def to work similarly to TypeRecords.def. * Moves some enums from SymbolRecords.h to CodeView.h to maintain consistency with how we do type records. * Generalize a few simple things like the record prefix * Define the leaf enum and the kind enum similar to how we do with tyep records. Differential Revision: http://reviews.llvm.org/D20342 Reviewed By: amccarth, rnk llvm-svn: 269867
* llvm-dwp: remove some unused error handlingDavid Blaikie2016-05-171-8/+5
| | | | llvm-svn: 269866
* Revert "[obj2yaml] [yaml2obj] Support MachO section and section_64Zachary Turner2016-05-176-424/+6
| | | | | | | | | structs" This reverts commits r269845, r269846, and r269850 as they introduce a crash in obj2yaml when trying to do a roundtrip. llvm-svn: 269865
* llvm-dwp: Move error handling code closer to useDavid Blaikie2016-05-171-6/+6
| | | | llvm-svn: 269864
* Revert "[sanitizer] Move *fstat to the common interceptors"Mike Aizatsky2016-05-175-118/+118
| | | | | | This reverts commit http://reviews.llvm.org/rL269856 llvm-svn: 269863
* [WebAssembly] Rename $discard to $drop in the assembly output.Dan Gohman2016-05-1721-135/+134
| | | | llvm-svn: 269862
* pdbdump: Print out more strcutures.Rui Ueyama2016-05-174-3/+51
| | | | | | | | | | I don't yet fully understand the meaning of these data strcutures, but at least it seems that their sizes and types are correct. With this change, we can read publics streams till end. Differential Revision: http://reviews.llvm.org/D20343 llvm-svn: 269861
* xfail TestWatchLocation.py for arm-linux targetsOmair Javaid2016-05-171-0/+1
| | | | | | | | TestWatchLocation.py fails on arm-linux target due to unicode error in lldb testsuite. This is a known issue and same test fails on OS X with similar reason. I have reported a bug and marked this test as xfail for arm-linux targets. llvm-svn: 269860
* [DwarfDebug] Make tuning predicates private, should be used only in ctor.Paul Robinson2016-05-171-9/+10
| | | | llvm-svn: 269859
* PR27754: CXXRecordDecl::data() needs to perform an update even if it's calledRichard Smith2016-05-179-45/+47
| | | | | | on a declaration that already knows the location of the DefinitionData object. llvm-svn: 269858
* docs: Update and clean up BitCodeFormat.rst.Peter Collingbourne2016-05-171-1/+14
| | | | llvm-svn: 269857
* [sanitizer] Move *fstat to the common interceptorsMike Aizatsky2016-05-175-118/+118
| | | | | | | | | | | | | | | | Summary: Adds *fstat to the common interceptors. Removes the now-duplicate fstat interceptor from msan/tsan This adds fstat to asan/esan, which previously did not intercept it. Reviewers: eugenis, vitalybuka, aizatsky Subscribers: tberghammer, danalbert, srhines, kubabrecka, bruening, kcc Differential Revision: http://reviews.llvm.org/D20318 llvm-svn: 269856
* [tsan] Ensure mmap respects ignore_interceptors_accessesAnna Zaks2016-05-172-2/+71
| | | | | | | | | | | | | | | The ignore_interceptors_accesses setting did not have an effect on mmap, so let's change that. It helps in cases user code is accessing the memory written to by mmap when the synchronization is ensured by the code that does not get rebuilt. (This effects Swift interoperability since it's runtime is mapping memory which gets accessed by the code emitted into the Swift application by the compiler.) Differential Revision: http://reviews.llvm.org/D20294 llvm-svn: 269855
* [WebAssembly] Model the stack evaluation order more precisely.Dan Gohman2016-05-173-32/+73
| | | | | | | | | | | We currently don't represent get_local and set_local explicitly; they are just implied by virtual register use and def. This avoids a lot of clutter, but it does complicate stackifying: get_locals read their operands at their position in the stack evaluation order, rather than at their parent instruction. This patch adds code to walk the stack to determine the precise ordering, when needed. llvm-svn: 269854
* Delete deprecated function.Rafael Espindola2016-05-172-10/+0
| | | | llvm-svn: 269853
* [X86][SSE] Tidied up MMX/SSE/SSE2 builtin tests to the correct test fileSimon Pilgrim2016-05-173-306/+101
| | | | llvm-svn: 269852
* llvm-dwp: Add error handling for multiple type sections in a dwp file.David Blaikie2016-05-173-1/+6
| | | | llvm-svn: 269851
* Fixing a test case that I broke by fixing r269846Chris Bieneman2016-05-172-6/+12
| | | | | | This should fix the bots. llvm-svn: 269850
* Revert r269717. That change alone did not provide the intended benefit (whichRichard Smith2016-05-171-16/+2
| | | | | | | | | would come from changing the type of ASTContext::DeclAttrs from DenseMap<Decl*,AttrVec*> to DenseMap<Decl*,AttrVec>), and it turns out to be impractical to avoid the allocation there, because we expose the address of the attribute vector in ways that are hard to fix. llvm-svn: 269849
* [Object] Move isNotObjectErrorInvalidFileType out of header.Lang Hames2016-05-172-30/+25
| | | | llvm-svn: 269848
* [PM] Port DSE to the new pass managerJustin Bogner2016-05-177-323/+378
| | | | | | Patch by JakeVanAdrighem. Thanks! llvm-svn: 269847
* [obj2yaml][yaml2obj] Fixing dyld_info_command mappingsChris Bieneman2016-05-171-2/+4
| | | | | | Apparently I mucked up the mappings here, which was causing some binary differences in round tripping. llvm-svn: 269846
* [obj2yaml] [yaml2obj] Support MachO section and section_64 structsChris Bieneman2016-05-175-0/+410
| | | | | | This patch adds round trip support for MachO section structs. llvm-svn: 269845
* Remove unnecessary header include.Lang Hames2016-05-171-1/+0
| | | | llvm-svn: 269844
* [WebAssembly] Don't stackify calls past stack pointer modifications.Dan Gohman2016-05-173-21/+56
| | | | llvm-svn: 269843
* Remove trailing whitespace in files in doc/ directoryJonathan Peyton2016-05-172-4/+4
| | | | llvm-svn: 269842
* Remove trailing whitespace from testsJonathan Peyton2016-05-1754-181/+181
| | | | llvm-svn: 269841
* Debug Info: Introduce a DwarfDebug::UseDWARF2Bitfields flagAdrian Prantl2016-05-173-6/+13
| | | | | | | | | instead of having DwarfUnit query the debugger tuning options. Follow-up commmit to r269827. Thanks to Paul Robinson for pointing this out! llvm-svn: 269840
* minor cleanup /NFCXinliang David Li2016-05-172-6/+3
| | | | llvm-svn: 269839
* Test hijacking ADL for operator& in the stream iterator constructors.Eric Fiselier2016-05-172-3/+30
| | | | llvm-svn: 269838
* Remove trailing whitespace in files in tools/ directoryJonathan Peyton2016-05-171-4/+4
| | | | llvm-svn: 269837
OpenPOWER on IntegriCloud