summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix-it suggestion for fixing min or max defines on Windows.Yaron Keren2013-11-151-2/+4
| | | | llvm-svn: 194891
* Use llvm_unreachable() instead of assert() at where control should never get.Rui Ueyama2013-11-151-2/+1
| | | | llvm-svn: 194890
* Implemented aarch64 Neon scalar vmulx_lane intrinsicsAna Pazos2013-11-155-14/+356
| | | | | | | | | | | | | | Implemented aarch64 Neon scalar vfma_lane intrinsics Implemented aarch64 Neon scalar vfms_lane intrinsics Implemented legacy vmul_n_f64, vmul_lane_f64, vmul_laneq_f64 intrinsics (v1f64 parameter type) using Neon scalar instructions. Implemented legacy vfma_lane_f64, vfms_lane_f64, vfma_laneq_f64, vfms_laneq_f64 intrinsics (v1f64 parameter type) using Neon scalar instructions. llvm-svn: 194889
* Implemented aarch64 Neon scalar vmulx_lane intrinsicsAna Pazos2013-11-155-16/+410
| | | | | | | | | | | | | | Implemented aarch64 Neon scalar vfma_lane intrinsics Implemented aarch64 Neon scalar vfms_lane intrinsics Implemented legacy vmul_n_f64, vmul_lane_f64, vmul_laneq_f64 intrinsics (v1f64 parameter type) using Neon scalar instructions. Implemented legacy vfma_lane_f64, vfms_lane_f64, vfma_laneq_f64, vfms_laneq_f64 intrinsics (v1f64 parameter type) using Neon scalar instructions. llvm-svn: 194888
* Duplicate code removal.Rui Ueyama2013-11-151-70/+37
| | | | llvm-svn: 194887
* Revert premature instructions to build __sync_fetch_*Tim Northover2013-11-151-20/+0
| | | | | | | My commits got a bit twisted when I was working on both embedded support and __sync stuff on the same branch. Sorry about that. llvm-svn: 194886
* Reworked moduleImport example with real data.John Thompson2013-11-151-3/+3
| | | | llvm-svn: 194885
* Updated comment - testing commit rightsAna Pazos2013-11-151-0/+1
| | | | llvm-svn: 194884
* Replace the dangling context hotfix with an assertion.Adrian Prantl2013-11-151-4/+1
| | | | llvm-svn: 194883
* Remove unused arguments.Lang Hames2013-11-151-4/+2
| | | | llvm-svn: 194882
* ObjectiveC ARC. Only briding of pointer to struct CF object is allowed.Fariborz Jahanian2013-11-154-14/+18
| | | | | | | Improve on wording on illegal objc_bridge argumment. // rdar://15454846 llvm-svn: 194881
* During folding for patchpoint/stackmap instructions, defer creation of new MIsLang Hames2013-11-151-4/+5
| | | | | | | | until we know that folding will be successful. No functional change. llvm-svn: 194880
* DwarfDebug: Push DISubprogram through updateSubprogramScopeDIEDavid Blaikie2013-11-152-7/+5
| | | | llvm-svn: 194879
* Darwin(ish): enable embedded compiler-rt builds on Darwin.Tim Northover2013-11-151-1/+3
| | | | | | | | This builds extra versions of compiler-rt targeting various unhosted targets. Only built on Darwin since even though they're not iOS or OSX, they share some quirks. llvm-svn: 194878
* Replace magic number with sizeof(). No functionality change.Rui Ueyama2013-11-151-1/+2
| | | | llvm-svn: 194877
* LoopVectorizer: Use abi alignment for accesses with no alignmentArnold Schwaighofer2013-11-152-0/+37
| | | | | | | | | | | When we vectorize a scalar access with no alignment specified, we have to set the target's abi alignment of the scalar access on the vectorized access. Using the same alignment of zero would be wrong because most targets will have a bigger abi alignment for vector types. This probably fixes PR17878. llvm-svn: 194876
* DwarfCompileUnit: Push DIDescriptors through a getDIE/insertDIEDavid Blaikie2013-11-153-19/+20
| | | | llvm-svn: 194875
* Fix previous commit (r194865)Juergen Ributzka2013-11-151-0/+2
| | | | llvm-svn: 194874
* Add clang_darwin_embedded platform for embedded projectsTim Northover2013-11-153-3/+272
| | | | | | | | | | | | | | This should build a separate set of embedded runtime libraries, supporting the option product: {PIC, static} x { Hard-float, soft-float } The emphasis is on ARM platforms (Cortex-M4F, Cortex-M3, Cortex-M0) but X86 variants are also built where possible. rdar://problem/10817205 llvm-svn: 194873
* PR17949: Fix crash if someone puts a namespace inside a class template.Richard Smith2013-11-154-8/+13
| | | | llvm-svn: 194872
* DwarfCompileUnit: Push DIDescriptor usage out from isShareableAcrossCUsDavid Blaikie2013-11-151-5/+5
| | | | | | | This is the first of a few similar patches. We'll see how far it goes/makes sense. llvm-svn: 194871
* Windows.h is not required.Yaron Keren2013-11-151-1/+0
| | | | llvm-svn: 194870
* PR8455: Handle an attribute between a goto label and a variable declaration perRichard Smith2013-11-154-6/+78
| | | | | | | the GNU documentation: the attribute only appertains to the label if it is followed by a semicolon. Based on a patch by Aaron Ballman! llvm-svn: 194869
* Fix typos.Matt Arsenault2013-11-151-3/+3
| | | | | | | I somehow didn't notice before that the examples for addrspacecast use the wrong syntax for addrspace. llvm-svn: 194868
* Move <optional> into include/experimental, and into the std::experimental ↵Marshall Clow2013-11-1559-409/+523
| | | | | | namespace, since it's not part of C++14, but of an upcoming TS llvm-svn: 194867
* Remove duplicate code.Rui Ueyama2013-11-151-57/+23
| | | | llvm-svn: 194866
* [weak vtables] Remove a bunch of weak vtablesJuergen Ributzka2013-11-15115-152/+500
| | | | | | | | | | | This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 194865
* ObjectiveC ARG. A positive test of my previous patch.Fariborz Jahanian2013-11-151-1/+16
| | | | | | // rdar://15454846 llvm-svn: 194864
* Fix typo in CGRecordLayoutBuilder.cpp: s/Field/Fields/ in commentHans Wennborg2013-11-151-1/+1
| | | | llvm-svn: 194863
* Fix confusing machine verifier error.Matt Arsenault2013-11-151-1/+1
| | | | | | | | | | | The error reported the number of explicit operands, but that isn't what is checked. In my case, this resulted in the confusing errors "Too few operands." followed shortly by "8 operands expected, but 8 given." llvm-svn: 194862
* ObjectiveC ARC. Lookup type associated with objc_bridage atFariborz Jahanian2013-11-153-3/+53
| | | | | | | | the point of CF object type-cast and issue diagnostic if it is not a valid ObjectiveC class. // rdar//15454846. This is wip. llvm-svn: 194861
* [PECOFF] Use INT3 instead of NOP.Rui Ueyama2013-11-151-1/+1
| | | | | | | | | | This patch does not change the meaning of the program, but if something's wrong in the linker or the compiler and the control reaches to the gap of imported function table, it will stop immediately because of the presence of INT3. If NOP, it'd fall through to the next call instruction, which is usually a completely foreign function call. llvm-svn: 194860
* Fix a problem in MCJIT identifying the module containing a global variable.Andrew Kaylor2013-11-151-2/+2
| | | | | | Patch by Keno Fischer! llvm-svn: 194859
* Make method staticMatt Arsenault2013-11-152-2/+2
| | | | llvm-svn: 194858
* [PM] Fix an iterator problem spotted by the MSVC debug iterators andChandler Carruth2013-11-151-8/+10
| | | | | | AaronBallman. Thanks for the excellent review. llvm-svn: 194857
* [PM] Run clang-format on a few lines that I missed in my first pass,Chandler Carruth2013-11-151-2/+2
| | | | | | pulling them under 80-columns. No functionality changed. llvm-svn: 194856
* test: Remove annotation for now-fixed FreeBSD issue pr15302Ed Maste2013-11-151-1/+0
| | | | | | | | | | | | | The failure to demangle 'anonymous namespace' on FreeBSD is fixed (twice) - the failure in FreeBSD's in-tree __cxa_demangle has been addressed - FreeBSD now uses the copy of the demangler built into lldb, due to other remaining limitations in the in-tree __cxa_demangle llvm.org/pr15302 llvm-svn: 194855
* These ACLE tests no longer need to cast the return value.Chad Rosier2013-11-151-8/+8
| | | | llvm-svn: 194854
* [AArch64] Fix the scalar NEON ACLE functions so that they return float/doubleChad Rosier2013-11-153-36/+28
| | | | | | rather than the vector equivalent. llvm-svn: 194853
* Path: Recognize COFF import library file magic.Rui Ueyama2013-11-158-0/+27
| | | | | | | | | | | | Summary: Make identify_magic to recognize COFF import file. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2165 llvm-svn: 194852
* [PECOFF] Remove unnecessary static member.Rui Ueyama2013-11-151-17/+10
| | | | llvm-svn: 194851
* Diagnose C++11 attributes before fp_contract pragmas.Richard Smith2013-11-152-0/+6
| | | | llvm-svn: 194850
* Fix bogus diagnostic wording. There's no such thing as a compound expression.Richard Smith2013-11-152-3/+3
| | | | llvm-svn: 194849
* Reimplement r194843 in a slightly less broken way.Adrian Prantl2013-11-151-3/+5
| | | | llvm-svn: 194848
* [PECOFF] Give a better name to the linker generated file.Rui Ueyama2013-11-151-1/+1
| | | | llvm-svn: 194847
* ArgumentPromotion: correctly transfer TBAA tags and alignments.Manman Ren2013-11-152-3/+57
| | | | | | | | | | | | | | We used to use std::map<IndicesVector, LoadInst*> for OriginalLoads, and when we try to promote two arguments, they will both write to OriginalLoads causing created loads for the two arguments to have the same original load. And the same tbaa tag and alignment will be put to the created loads for the two arguments. The fix is to use std::map<std::pair<Argument*, IndicesVector>, LoadInst*> for OriginalLoads, so each Argument will write to different parts of the map. PR17906 llvm-svn: 194846
* Revert "Using an invalid -O falls back on -O3 instead of an error"Alp Toker2013-11-157-20/+11
| | | | | | | | | | | | | | | | | | | | | | | | Trying to fix test failures since earlier today. One of the tests added in this commit is outputting test/Driver/clang_f_opts.s which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are trying to run as a test case, causing failures. clang_f_opts.c: If -### doesn't emit the warning then this test probably shouldn't be in here in the first place. Frontend maybe? invalid-o-level.c: Running %clang_cc1 in the Driver tests doesn't make sense because -cc1 bypasses the driver. (I'm not reverting the commit that introduced this but please fix instead of keeping it this way.) Reverting to fix the build failures and also so that the tests can be thought out more thoroughly. This reverts commit r194817. llvm-svn: 194845
* Readobj: If NumbersOfSections is 0xffff, it's an COFF import library.Rui Ueyama2013-11-152-4/+9
| | | | | | | | 0xffff does not mean that there are 65535 sections in a COFF file but indicates that it's a COFF import library. This patch fixes SEGV error when an import library file is passed to llvm-readobj. llvm-svn: 194844
* Restore the behaviour from before r194728.Adrian Prantl2013-11-151-1/+3
| | | | | | If getDIE() fails, getOrCreateContextDIE() should also return the CUDie. llvm-svn: 194843
* Remove FreeBSD test failure annotations for llvm.org/pr17213Ed Maste2013-11-151-2/+0
| | | | | | This was a FreeBSD kernel issue, now fixed. llvm-svn: 194842
OpenPOWER on IntegriCloud