- Apr 14, 2011
-
-
Rafael Espindola authored
size of the clang binary in Debug builds from 690MB to 679MB. llvm-svn: 129518
-
Michael J. Spencer authored
llvm-svn: 129517
-
Sebastian Redl authored
Chained PCH: Remember when additional specializations are added to a function template from a previous PCH. Fixes the only crasher when using massive chains on Clang's Sema component. We still have some incomplete codegen there. llvm-svn: 129516
-
Sebastian Redl authored
llvm-svn: 129515
-
Sebastian Redl authored
llvm-svn: 129514
-
Sebastian Redl authored
The ASTReader created by -chain-include used the generated PCH buffers in the wrong order. The effect was that all but the first chain-include files was ignored for subsequent compilations. llvm-svn: 129513
-
Mon P Wang authored
llvm-svn: 129509
-
Andrew Trick authored
This is done by pushing physical register definitions close to their use, which happens to handle flag definitions if they're not glued to the branch. This seems to be generally a good thing though, so I didn't need to add a target hook yet. The primary motivation is to generate code closer to what people expect and rule out missed opportunity from enabling macro-op fusion. As a side benefit, we get several 2-5% gains on x86 benchmarks. There is one regression: SingleSource/Benchmarks/Shootout/lists slows down be -10%. But this is an independent scheduler bug that will be tracked separately. See rdar://problem/9283108. Incidentally, pre-RA scheduling is only half the solution. Fixing the later passes is tracked by: <rdar://problem/8932804> [pre-RA-sched] on x86, attempt to schedule CMP/TEST adjacent with condition jump Fixes: <rdar://problem/9262453> Scheduler unnecessary break of cmp/jump fusion llvm-svn: 129508
-
Andrew Trick authored
I've used it a few times to reduce unit tests and gotten one request for information on it. It's not easy to use correctly because bugpoint doesn't tell you when you're doing it wrong. llvm-svn: 129507
-
Chris Lattner authored
improvements, that will lead to fixing PR6627. llvm-svn: 129504
-
Chris Lattner authored
llvm-svn: 129503
-
Chris Lattner authored
instruction around, reducing work. Greatly simplify handling of debug instructions. There is no need to build up a vector of them and then move them into the one predecessor if we're processing a block. Instead just rescan the block and *copy* them into the pred. If a block gets merged into multiple preds, this will retain more debug info. llvm-svn: 129502
-
Chris Lattner authored
llvm-svn: 129501
-
Sean Callanan authored
tables. llvm-svn: 129500
-
Ted Kremenek authored
llvm-svn: 129499
-
Bill Wendling authored
(movzx/movsx) because they give more information. Revert that part of the patch. llvm-svn: 129498
-
Bill Wendling authored
cases, it's much nicer and more informative reading the alias. llvm-svn: 129497
-
Ken Dyck authored
functionality intended. llvm-svn: 129496
-
Eli Friedman authored
DiagnosticBuilder::AddFixItHint: they will be dropped along with any other (possibly valid) fixits later. llvm-svn: 129495
-
Argyrios Kyrtzidis authored
named by the nested-name-specifier is same or base of the class in which the member expression appears. It seems we also had an ill-formed test case, mon dieu! Fixes rdar://8576107. llvm-svn: 129493
-
-
Ken Dyck authored
in functionality intended. llvm-svn: 129491
-
Anders Carlsson authored
is 1 element smaller than the string, because we can just strip off the last null character. This matches GCC. llvm-svn: 129490
-
Nick Kledzik authored
llvm-svn: 129489
-
Anders Carlsson authored
llvm-svn: 129488
-
-
Anders Carlsson authored
llvm-svn: 129486
-
Bill Wendling authored
the alias". llvm-svn: 129485
-
Owen Anderson authored
During post-legalization DAG combining, be careful to only create shifts where the RHS is of the legal type for the new operation. llvm-svn: 129484
-
Greg Clayton authored
Modified the OptionGroupOptions to be able to specify only some of the options that should be appended by using the usage_mask in the group defintions and also provided a way to remap them to a new usage mask after the copy. This allows options to be re-used and also targetted for specific option groups. Modfied the CommandArgumentType to have a new eArgTypePlatform enumeration. Taught the option parser to be able to automatically use the appropriate auto completion for a given options if nothing is explicitly specified in the option definition. So you don't have to specify it in the option definition tables. Renamed the default host platform name to "host", and the default platform hostname to be "localhost". Modified the "file" and "platform select" commands to make sure all options and args are good prior to creating a new platform. Also defer the computation of the architecture in the file command until all options are parsed and the platform has either not been specified or reset to a new value to avoid computing the arch more than once. Switch the PluginManager code over to using llvm::StringRef for string comparisons and got rid of all the AccessorXXX functions in lieu of the newer mutex + collection singleton accessors. llvm-svn: 129483
-
Chandler Carruth authored
built clang binary that is used by the test. Build systems that use symlinks for build outputs will fail these assertions otherwise. llvm-svn: 129482
-
Fariborz Jahanian authored
// rdar://9091893 llvm-svn: 129481
-
- Apr 13, 2011
-
-
Johnny Chen authored
rdar://problem/9280370 llvm-svn: 129480
-
Ted Kremenek authored
llvm-svn: 129475
-
Caroline Tice authored
Fix bug where source & target registers were swapped in an emulation function. llvm-svn: 129474
-
Ted Kremenek authored
llvm-svn: 129473
-
Mon P Wang authored
the same allocation size but different primitive sizes(e.g., <3xi32> and <4xi32>). When ScalarRepl promotes them, it can't use a bit cast but should use a shuffle vector instead. llvm-svn: 129472
-
Johnny Chen authored
Check for unallocated instruction encodings when disassembling Thumb Branch instructions (tBcc and t2Bcc). rdar://problem/9280470 llvm-svn: 129471
-
Jim Ingham authored
llvm-svn: 129470
-
Johnny Chen authored
rdar://problem/9279440 llvm-svn: 129469
-