- Nov 15, 2011
-
-
Benjamin Kramer authored
llvm-svn: 144648
-
Benjamin Kramer authored
llvm-svn: 144647
-
Douglas Gregor authored
lifetimes have been extended via reference binding. The type of the reference and the type of the temporary are not necessarily the same, which could cause a crash. Fixes <rdar://problem/10398199>. llvm-svn: 144646
-
Benjamin Kramer authored
Validate DiagGroup names in TableGen, they're used as command line arguments so we don't want shell meta chars in there. llvm-svn: 144645
-
Benjamin Kramer authored
Also add a maximum edit distance threshold, so we don't correct "-Wx" to "-W#pragma-messages". llvm-svn: 144644
-
Tobias Grosser authored
llvm-svn: 144643
-
Tobias Grosser authored
The new isl_id support for parmeters created problems when importing new access functions. Even though the parameters had the same names, they were mapped to different ids and where therefore incompatible. We copy the ids now from the old parameter dimensions. This fixes the problem. llvm-svn: 144642
-
Tobias Grosser authored
Parameters can be complex SCEV expressions, but they can also be single scalar values. If a parameters is such a simple scalar value and the value is named, use this name to name the isl parameter dimensions. llvm-svn: 144641
-
Tobias Grosser authored
llvm-svn: 144640
-
Tobias Grosser authored
llvm-svn: 144639
-
Tobias Grosser authored
llvm-svn: 144638
-
Abramo Bagnara authored
llvm-svn: 144637
-
Jakob Stoklund Olesen authored
A function using any RC alias is enough to enable the ExeDepsFix pass. llvm-svn: 144636
-
Jay Foad authored
llvm-svn: 144635
-
Jay Foad authored
llvm-svn: 144634
-
Jay Foad authored
llvm-svn: 144633
-
Jay Foad authored
of PseudoSourceValue from lib/Target/. llvm-svn: 144632
-
Jay Foad authored
llvm-svn: 144631
-
Jakob Stoklund Olesen authored
These tests are actually correct, clang was miscompiling ExeDepsFix::processUses. Evan fixed the miscompilation in r144628. llvm-svn: 144630
-
Craig Topper authored
Fix PR11370 for real. Prevents converting 256-bit FP instruction to AVX2 256-bit integer instructions when AVX2 isn't enabled. llvm-svn: 144629
-
Evan Cheng authored
Set SeenStore to true to prevent loads from being moved; also eliminates a non-deterministic behavior. llvm-svn: 144628
-
Chandler Carruth authored
block sequence when recovering from unanalyzable control flow constructs, *always* use the function sequence. I'm not sure why I ever went down the path of trying to use the loop sequence, it is fundamentally not the correct sequence to use. We're trying to preserve the incoming layout in the cases of unreasonable control flow, and that is only encoded at the function level. We already have a filter to select *exactly* the sub-set of blocks within the function that we're trying to form into a chain. The resulting code layout is also significantly better because of this. In several places we were ending up with completely unreasonable control flow constructs due to the ordering chosen by the loop structure for its internal storage. This change removes a completely wasteful vector of basic blocks, saving memory allocation in the common case even though it costs us CPU in the fairly rare case of unnatural loops. Finally, it fixes the latest crasher reduced out of GCC's single source. Thanks again to Benjamin Kramer for the reduction, my bugpoint skills failed at it. llvm-svn: 144627
-
Argyrios Kyrtzidis authored
otherwise it will crash with asserts on or it will be written as null pointer. llvm-svn: 144626
-
Argyrios Kyrtzidis authored
in a separate indexing callback than its implementation. llvm-svn: 144625
-
Argyrios Kyrtzidis authored
no need to store it in another field. llvm-svn: 144624
-
Argyrios Kyrtzidis authored
CXTranslationUnit, mainly to be used for indexing a PCH. llvm-svn: 144623
-
Craig Topper authored
Properly qualify AVX2 specific parts of execution dependency table. Also enable converting between 256-bit PS/PD operations when AVX1 is enabled. Fixes PR11370. llvm-svn: 144622
-
NAKAMURA Takumi authored
It triggers generating insane executables with both binutils-2.19.1(msysgit) and 2.22.51.20111013(cygwin). llvm-svn: 144621
-
Greg Clayton authored
llvm-svn: 144616
-
Greg Clayton authored
info for us to attach by pid, or by name and will also allow us to eventually do a lot more powerful attaches. If you look at the options for the "platform process list" command, there are many options which we should be able to specify. This will allow us to do things like "attach to a process named 'tcsh' that has a parent process ID of 123", or "attach to a process named 'x' which has an effective user ID of 345". I finished up the --shell implementation so that it can be used without the --tty option in "process launch". The "--shell" option now can take an optional argument which is the path to the shell to use (or a partial name like "sh" which we will find using the current PATH environment variable). Modified the Process::Attach to use the new ProcessAttachInfo as the sole argument and centralized a lot of code that was in the "process attach" Execute function so that everyone can take advantage of the powerful new attach functionality. llvm-svn: 144615
-
Jakob Stoklund Olesen authored
llvm-svn: 144613
-
Eli Friedman authored
llvm-svn: 144612
-
Jakob Stoklund Olesen authored
This should unbreak clang-x86_64-darwin10-RA, but I can't actually reproduce the failure. llvm-svn: 144611
-
Evan Cheng authored
integer variants. rdar://10437054 llvm-svn: 144608
-
Sean Callanan authored
of problems with Objective-C object completion. To go along with the LLVM/Clang-side fixes, we have a variety of Objective-C improvements. Fixes include: - It is now possible to run expressions when stopped in an Objective-C class method and have "self" act just like "self" would act in the class method itself (i.e., [self classMethod] works without casting the return type if debug info is present). To accomplish this, the expression masquerades as a class method added by a category. - Objective-C objects can now provide methods and properties and methods to Clang on demand (i.e., the ASTImporter sets hasExternalVisibleDecls on Objective-C interface objects). - Objective-C built-in types, which had long been a bone of contention (should we be using "id"? "id*"?), are now fetched correctly using accessor functions on ClangASTContext. We inhibit searches for them in the debug information. There are also a variety of logging fixes, and I made two changes to the test suite: - Enabled a test case for Objective-C properties in the current translation unit. - Added a test case for calling Objective-C class methods when stopped in a class method. llvm-svn: 144607
-
Jim Grosbach authored
rdar://10435076 llvm-svn: 144606
-
John McCall authored
'auto'. Introduce a convenience method to make this a bit easier, and use it elsewhere. llvm-svn: 144605
-
Devang Patel authored
llvm-svn: 144604
-
Nick Lewycky authored
llvm-svn: 144603
-
Jakob Stoklund Olesen authored
Two new TargetInstrInfo hooks lets the target tell ExecutionDepsFix about instructions with partial register updates causing false unwanted dependencies. The ExecutionDepsFix pass will break the false dependencies if the updated register was written in the previoius N instructions. The small loop added to sse-domains.ll runs twice as fast with dependency-breaking instructions inserted. llvm-svn: 144602
-