- Aug 28, 2009
-
-
Andreas Neustifter authored
error. llvm-svn: 80357
-
Andreas Neustifter authored
llvm-svn: 80356
-
Andreas Neustifter authored
llvm-svn: 80355
-
Daniel Dunbar authored
llvm-svn: 80351
-
Andreas Neustifter authored
tests can test only parts of this system. llvm-svn: 80348
-
Daniel Dunbar authored
- I'm still trying to figure out the cleanest way to implement this and match the assembler, currently there are some substantial differences. llvm-svn: 80347
-
Daniel Dunbar authored
llvm-svn: 80343
-
Chris Lattner authored
llvm-svn: 80327
-
Evan Cheng authored
llvm-svn: 80322
-
- Aug 27, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 80249
-
Anton Korobeynikov authored
Add a testcase. llvm-svn: 80246
-
Chris Lattner authored
calls into a function and if the calls bring in arrays, try to merge them together to reduce stack size. For example, in the testcase we'd previously end up with 4 allocas, now we end up with 2 allocas. As described in the comments, this is not really the ideal solution to this problem, but it is surprisingly effective. For example, on 176.gcc, we end up eliminating 67 arrays at "gccas" time and another 24 at "llvm-ld" time. One piece of concern that I didn't look into: at -O0 -g with forced inlining this will almost certainly result in worse debug info. I think this is acceptable though given that this is a case of "debugging optimized code", and we don't want debug info to prevent the optimizer from doing things anyway. llvm-svn: 80215
-
Chris Lattner authored
llvm-svn: 80214
-
Daniel Dunbar authored
llvm-svn: 80213
-
Bill Wendling authored
llvm-svn: 80210
-
Evan Cheng authored
Fix PR4789. Teach eliminateFrameIndex how to handle VLDRQ and VSTRQ which cannot fold any immediate offset. llvm-svn: 80191
-
Dan Gohman authored
llvm-svn: 80186
-
Dan Gohman authored
moves. This avoids the need to promote the operands (or implicitly extend them, a partial register update condition), and can reduce i8 register pressure. This substantially speeds up code such as write_hex in lib/Support/raw_ostream.cpp. subclass-coalesce.ll is too trivial and no longer tests what it was originally intended to test. llvm-svn: 80184
-
Daniel Dunbar authored
sections, etc. - The quick and dirty way, just clone the TargetLoweringObjectFile code. Eventually this should be shared... somehow. llvm-svn: 80168
-
Daniel Dunbar authored
- I moved section creation back into AsmParser. I think policy decisions like this should be pushed higher, not lower, when possible (in addition the assembler has flags which change this behavior, for example). llvm-svn: 80162
-
- Aug 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 80144
-
Bob Wilson authored
llvm-svn: 80120
-
Dale Johannesen authored
llvm-svn: 80119
-
Anton Korobeynikov authored
llvm-svn: 80107
-
Dan Gohman authored
leads to partial-register definitions. To help avoid redundant zero-extensions, also teach the h-register matching patterns that use movzbl to match anyext as well as zext. llvm-svn: 80099
-
Dan Gohman authored
This is a simple AliasAnalysis implementation which works by making ScalarEvolution queries. ScalarEvolution has a more complete understanding of arithmetic than BasicAA's collection of ad-hoc checks, so it handles some cases that BasicAA misses, for example p[i] and p[i+1] within the same iteration of a loop. This is currently experimental. It may be that the main use for this pass will be to help find cases where BasicAA can be profitably extended, or to help in the development of the overall AliasAnalysis infrastructure, however it's also possible that it could grow up to become a directly useful pass. llvm-svn: 80098
-
Daniel Dunbar authored
- I haven't really tried to find the "right" way to store the fixups or apply them, yet. This works, but isn't particularly elegant or fast. - Still no evaluation support, so we don't actually ever not turn a fixup into a relocation entry. llvm-svn: 80089
-
Daniel Dunbar authored
llvm-svn: 80087
-
Anton Korobeynikov authored
llvm-svn: 80085
-
Devang Patel authored
llvm-svn: 80073
-
Daniel Dunbar authored
llvm-svn: 80069
-
Daniel Dunbar authored
Also, simplify some of Mach-O writer code which can now use section addresses. llvm-svn: 80067
-
Daniel Dunbar authored
llvm-svn: 80065
-
Daniel Dunbar authored
llvm-svn: 80059
-
Scott Michel authored
llvm-svn: 80042
-
- Aug 25, 2009
-
-
Chris Lattner authored
llvm-svn: 80031
-
Chris Lattner authored
llvm-svn: 80029
-
Chris Lattner authored
llvm-svn: 80025
-
Daniel Dunbar authored
more and is much nicer to the OS. - Dan, please check. If there are parts of the test you think I should strip out so it doesn't cause random failures let me know (there are still some PIC label numbers in it, for example). llvm-svn: 80019
-
Dan Gohman authored
sinking code, since they are special. If the loop preheader happens to be the entry block of a function, don't sink static allocas out of it. This fixes PR4775. llvm-svn: 80010
-