- Aug 15, 2014
-
-
Reid Kleckner authored
Previously, any undeclared unqualified id starting a nested name specifier in a dependent context would have its lookup retried during template instantiation. Now we limit that retry hack to methods of a class with dependent bases. Free function templates in particular are no longer affected by this hack. Also, diagnose this as a Microsoft extension. This has the downside that template authors may see this warning *and* an error during instantiation time about this identifier. Fixing that will probably require formalizing some kind of "delayed" identifier, instead of our ad-hoc solutions of forming dependent AST nodes when lookup fails. Based on a patch by Kim Gräsman! Differential Revision: http://reviews.llvm.org/D4854 llvm-svn: 215683
-
Juergen Ributzka authored
FastEmit_i won't always succeed to materialize an i32 constant and just fail. This would trigger a fall-back to SelectionDAG, which is really not necessary. This fix will first fall-back to a constant pool load to materialize the constant before giving up for good. This fixes <rdar://problem/18022633>. llvm-svn: 215682
-
Eric Christopher authored
llvm-svn: 215681
-
Nick Kledzik authored
Darwin has a packaging mechanism for shared libraries and headers called frameworks. A directory Foo.framework contains a shared library binary file "Foo" and a subdirectory "Headers". Most OS frameworks are all in one directory /System/Library/Frameworks/. As a linking convenience, the linker option "-framework Foo" means search the framework directories specified with -F (analogous to -L) looking for a shared library Foo.framework/Foo. llvm-svn: 215680
-
DeLesley Hutchins authored
-Wthread-safety umbrella flag, pending updates to documentation. The flag works, but is likely to be confusing to existing users of -Wthread-safety. llvm-svn: 215679
-
Brad Smith authored
llvm-svn: 215678
-
DeLesley Hutchins authored
Thread safety analysis: add -Wthread-safety-verbose flag, which adds additional notes that are helpful when compiling statistics on thread safety warnings. llvm-svn: 215677
-
Hal Finkel authored
When a call site with noalias metadata is inlined, that metadata can be propagated directly to the inlined instructions (only those that might access memory because it is not useful on the others). Prior to inlining, the noalias metadata could express that a call would not alias with some other memory access, which implies that no instruction within that called function would alias. By propagating the metadata to the inlined instructions, we preserve that knowledge. This should complete the enhancements requested in PR20500. llvm-svn: 215676
-
Richard Smith authored
members from all redefinitions of a class that have them, in case the special member is defined in one module but only declared in another. llvm-svn: 215675
-
Zachary Turner authored
Differential Revision: http://reviews.llvm.org/D4912 llvm-svn: 215674
-
Juergen Ributzka authored
This reverts: r215595 "[FastISel][X86] Add large code model support for materializing floating-point constants." r215594 "[FastISel][X86] Use XOR to materialize the "0" value." r215593 "[FastISel][X86] Emit more efficient instructions for integer constant materialization." r215591 "[FastISel][AArch64] Make use of the zero register when possible." r215588 "[FastISel] Let the target decide first if it wants to materialize a constant." r215582 "[FastISel][AArch64] Cleanup constant materialization code. NFCI." llvm-svn: 215673
-
Reid Kleckner authored
Fixes PR20662. llvm-svn: 215672
-
DeLesley Hutchins authored
data members and range based for loops. llvm-svn: 215671
-
Joerg Sonnenberger authored
llvm-svn: 215670
-
Greg Clayton authored
(lldb) b "Foo::Bar::Baz" <rdar://problem/11782098> llvm-svn: 215668
-
Duncan P. N. Exon Smith authored
llvm-svn: 215667
-
Adam Nemet authored
Part of <rdar://problem/17688758> llvm-svn: 215666
-
Adam Nemet authored
llvm-svn: 215665
-
Adam Nemet authored
This does the renaming and updates the lowering logic. Part of <rdar://problem/17688758> llvm-svn: 215664
-
Adam Nemet authored
No functional change. Will be used to lower AVX512 masking FMA intrinsics. llvm-svn: 215663
-
Adam Nemet authored
No functional change. This will be used by the new FMA intrinsic lowering code. We can probably add NO_EXC here as well, I am just not too familiar with this part of AVX512 yet. We can add that later. llvm-svn: 215662
-
Adam Nemet authored
No functional change. This will be used by the FMA intrinsic lowering as well and hopefully many more. llvm-svn: 215661
-
Adam Nemet authored
This change further evolves the base class AVX512_masking in order to make it suitable for the masking variants of the FMA instructions. Besides AVX512_masking there is now a new base class that instructions including FMAs can use: AVX512_masking_3src. With three-source (destructive) instructions one of the sources is already tied to the destination. This difference from AVX512_masking is captured by this new class. The common bits between _masking and _masking_3src are broken out into a new super class called AVX512_masking_common. As with valign, there is some corresponding restructuring of the underlying format classes. The idea is the same we want to derive from two classes essentially: one providing the format bits and another format-independent multiclass supplying the various masking and non-masking instruction variants. Existing fma tests in avx512-fma*.ll provide coverage here for the non-masking variants. For masking, the next patches in the series will add intrinsics and intrinsic tests. For AVX512_masking_3src to work, the (ins ...) dag has to be passed *without* the leading source operand that is tied to dst ($src1). This is necessary to properly construct the (ins ...) for the different variants. For the record, I did check that if $src is mistakenly included, you do get a fairly intuitive error message from the tablegen backend. Part of <rdar://problem/17688758> llvm-svn: 215660
-
Juergen Ributzka authored
This reverts commits r215597, because it might have broken the build bots. llvm-svn: 215659
-
Hafiz Abid Qadeer authored
The documentation says that these fields should be generated when we have proper process or target file. Current implementation did not check for this. Eclipse seem to use list-thread-group command even before setting the executable in which case current implementation can return garbage data. llvm-svn: 215658
-
Hal Finkel authored
When preserving noalias function parameter attributes by adding noalias metadata in the inliner, we should do this for general function calls (not just memory intrinsics). The logic is very similar to what already existed (except that we want to add this metadata even for functions taking no relevant parameters). This metadata can be used by ModRef queries in the caller after inlining. This addresses the first part of PR20500. Adding noalias metadata during inlining is still turned off by default. llvm-svn: 215657
-
Hafiz Abid Qadeer authored
Previously it was using run command which did not set the process pointer in the sessionInfo. This commit also sends the proper out-of-band data. llvm-svn: 215656
-
Deepak Panickal authored
Fix command "gdb-set" to handle long option --threadgroup and accept --longOption type words as just words for string types. For example, MI command "17-gdb-set --thread-group i1 args --interpreter" is now acceptable, "--interpreter" was previous not valid. llvm-svn: 215655
-
Zachary Turner authored
Fixes constructor initializer list and function return type style. llvm-svn: 215654
-
Moritz Roth authored
Remove a trailing whitespace. llvm-svn: 215653
-
Artyom Skrobov authored
to recover the performance after r214064. Also sorts out the naming for PostOrderCFGView, ReversePostOrderCFGView, BackwardDataflowWorklist and ForwardDataflowWorklist, to match the accepted terminology. Also unifies BackwardDataflowWorklist and ForwardDataflowWorklist to share the "worklist for prioritization, post-order traversal for fallback" logic, and to avoid repetitive sorting. Also cleans up comments in the affected area. llvm-svn: 215650
-
Zachary Turner authored
FileAction was previously a nested class in ProcessLaunchInfo. This led to some unfortunate style consequences, such as requiring the AddPosixSpawnFileAction() funciton to be defined in the Target layer, instead of the more appropriate Host layer. This patch makes FileAction its own independent class in the Target layer, and then moves AddPosixSpawnFileAction() into Host as a result. Differential Revision: http://reviews.llvm.org/D4877 llvm-svn: 215649
-
- Aug 14, 2014
-
-
Justin Bogner authored
It fits better with LLVM's memory model to try to do this in the backend. Specifically, narrowing wide loads in the backends should be relatively straightforward and is generally valuable, whereas widening loads tends to be very constrained. Discussion here: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140811/112581.html This reverts commit r215614. llvm-svn: 215648
-
Chad Rosier authored
Vector instructions are (still) not supported for either integer or floating point. Hopefully, that work will be landed shortly. llvm-svn: 215647
-
Sanjay Patel authored
This patch allows a vector fneg of a bitcasted integer value to be optimized in the same way that we already optimize a scalar fneg. If the integer variable is a constant, we can precompute the result and not require any logic ops. This patch is very similar to a fabs patch committed at r214892. Differential Revision: http://reviews.llvm.org/D4852 llvm-svn: 215646
-
Rafael Espindola authored
auroraux.org is not resolving. I will add this to the release notes as soon as I figure out where to put the 3.6 release notes :-) llvm-svn: 215645
-
Rafael Espindola authored
auroraux.org is not resolving. llvm-svn: 215644
-
Aaron Ballman authored
llvm-svn: 215643
-
Aaron Ballman authored
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). NFC. llvm-svn: 215642 -
Timur Iskhodzhanov authored
[ASan/Win] Slightly update&relax test expectations to work with both -MT and -MD (in progress, PR20214) CRTs llvm-svn: 215641
-