- May 07, 2012
-
-
Jakob Stoklund Olesen authored
This function is a generalization of getMatchingSuperRegClass() to the symmetric case where both sides are using a sub-register index. It will find a super-register class and sub-register indexes that make this diagram commute: PreA SuperRC ----------> RCA | | | | PreB | | SubA | | | | V V RCB ----------> SubRC SubB This can be used to coalesce copies like: %vreg1:sub16 = COPY %vreg2:sub16; GR64:%vreg1, GR32: %vreg2 llvm-svn: 156317
-
Chad Rosier authored
single use. rdar://11360370 llvm-svn: 156316
-
Anna Zaks authored
To solve the inconsistency pointed out in Erik's review, refactor class hierarchy of ProgramPoints so that PreStmtPurgeDeadSymbols and PostStmtPurgeDeadSymbols both subclass from StmtPoint instead of PostStmt. llvm-svn: 156315
-
Johnny Chen authored
Move the el_source() call after the section of code which sets up the default "ctrl-r" and "ctrl-w" bindings so that user-provided .editrc has a chance to override the lldb's default key bindings. llvm-svn: 156314
-
Matt Beaumont-Gay authored
Fixes a -Woverflow warning from gcc when building for 32-bit platforms. llvm-svn: 156313
-
Manman Ren authored
This patch will optimize -(x != 0) on X86 FROM cmpl $0x01,%edi sbbl %eax,%eax notl %eax TO negl %edi sbbl %eax %eax In order to generate negl, I added patterns in Target/X86/X86InstrCompiler.td: def : Pat<(X86sub_flag 0, GR32:$src), (NEG32r GR32:$src)>; rdar: 10961709 llvm-svn: 156312
-
Nuno Lopes authored
remove code to add bound checks for simple array accesses, since those are already covered by the check with the objectsize builtin remove the comparison of objectsize with -1. since it's an unsigned comparison, it will always succeed if objectsize returns -1, which is enough to have the check removed llvm-svn: 156311
-
Anna Zaks authored
As per Jordy's and Ted's comment, use the default StopTracking summary instead of adding all arguments to ScratchArs. llvm-svn: 156310
-
Howard Hinnant authored
SFINAE __bit_iterator such that it will only get instantiated with a container that has the nested type __storage_type. This prevents accidental instantiation such as in http://llvm.org/bugs/show_bug.cgi?id=12755. This fixes http://llvm.org/bugs/show_bug.cgi?id=12755. llvm-svn: 156308
-
Sean Callanan authored
and occasionally failure to recognize instructions. This problem affects ARM and Thumb BLX instructions. llvm-svn: 156307
-
Sebastian Pop authored
llvm-svn: 156306
-
Sebastian Pop authored
llvm-svn: 156305
-
Douglas Gregor authored
llvm-svn: 156304
-
Manuel Klimek authored
llvm-svn: 156302
-
Manuel Klimek authored
llvm-svn: 156301
-
Filipe Cabecinhas authored
llvm-svn: 156300
-
Manuel Klimek authored
The chdir is not the perfect fix, as it is thread hostile. The real fix will be to make -working-dir work correctly, which will take time to implement. Before that, the tooling library cannot be used concurrently. llvm-svn: 156299
-
Abramo Bagnara authored
llvm-svn: 156298
-
Richard Smith authored
overload candidate, and include its message in any subsequent 'candidate not viable due to substitution failure' note we may produce. To keep the note small (since the 'overload resolution failed' diagnostics are often already very verbose), the text of the SFINAE diagnostic is included as part of the text of the note, and any notes which were attached to it are discarded. There happened to be spare space in OverloadCandidate into which a PartialDiagnosticAt could be squeezed, and this patch goes to lengths to avoid unnecessary PartialDiagnostic copies, resulting in no slowdown that I could measure. (Removal in passing of some PartialDiagnostic copies has resulted in a slightly smaller clang binary overall.) Even on a torture test, I was unable to measure a memory increase of above 0.2%. llvm-svn: 156297
-
Craig Topper authored
Convert AVX non-temporal store builtins to LLVM-native IR. This was previously done for SSE builtins. llvm-svn: 156296
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156295
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156294
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156293
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156292
-
John McCall authored
so that we actually accumulate all the delayed diagnostics. Do this so that we can restore those diagnostics to good standing if it turns out that we were wrong to suppress, e.g. if the tag specifier is actually an elaborated type specifier and not a declaration. llvm-svn: 156291
-
John McCall authored
llvm-svn: 156290
-
John McCall authored
separate pools owned by the RAII objects that keep pushing decl state. This gives us quite a bit more flexibility. llvm-svn: 156289
-
John McCall authored
llvm-svn: 156288
-
Craig Topper authored
llvm-svn: 156287
-
Manuel Klimek authored
- Two new tests (one for each property), require libclang built from r155858 or later to pass - New test utility function (get_cursors) that gets all the nodes with a specific spelling. Patch by Evan Pipho. llvm-svn: 156286
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156285
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156284
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156283
-
Eric Christopher authored
llvm-svn: 156282
-
Craig Topper authored
llvm-svn: 156281
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156280
-
Eric Christopher authored
from the previous 2 patches. Patch by Jack Carter. llvm-svn: 156279
-
Eric Christopher authored
Patch by Jack Carter. llvm-svn: 156278
-
Eric Christopher authored
non-floating point general registers allow 8 and 16-bit elements. Patch by Jack Carter. llvm-svn: 156277
-
Jim Grosbach authored
llvm-svn: 156276
-