- Dec 24, 2012
-
-
Nadav Rotem authored
The bug was in the code that detects PHIs in if-then-else block sequence. PR14701. llvm-svn: 171008
-
Daniel Jasper authored
With this patch, splitting after binary operators has a panelty corresponding to the operator's precedence. We used to ignore this and eagerly format like: if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. } With this patch, this becomes: if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. } llvm-svn: 171007
-
- Dec 23, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 171006
-
Dmitri Gribenko authored
Fixes PR14014 llvm-svn: 171005
-
Dmitri Gribenko authored
llvm-svn: 171004
-
Dmitri Gribenko authored
llvm-svn: 171003
-
Nadav Rotem authored
the cost of arithmetic functions. We now assume that the cost of arithmetic operations that are marked as Legal or Promote is low, but ops that are marked as custom are higher. llvm-svn: 171002
-
Benjamin Kramer authored
llvm-svn: 171001
-
Benjamin Kramer authored
Fixes an assert during the build of oggenc in the test suite. llvm-svn: 171000
-
Nadav Rotem authored
We are not ready to estimate the cost of integer expansions based on the number of parts. This test is too noisy. llvm-svn: 170999
-
Sean Silva authored
llvm-svn: 170998
-
Nadav Rotem authored
llvm-svn: 170997
-
Nadav Rotem authored
llvm-svn: 170996
-
Nadav Rotem authored
them more expensive. llvm-svn: 170995
-
Sean Silva authored
This is the last of the "regular" documents to convert to reST, and so I'm declaring the initial clang reST conversion "done". However, - There are some documents in clang/www/ which probably should be migrated into clang/docs/, such as www/OpenProjects.html The primary thing blocking me from doing this right now is not knowing how to set up a redirect so that the old URL's continue to work. - LibASTMatchersReference.html is not reST. This page is auto-generated by clang/docs/tools/dump_ast_matchers.py from the source and has some collapse/expand logic that isn't expressible directly with Sphinx, so just converting it to reST is not really a good strategy. Manuel Klimek and I discussed this and the general agreed-upon direction is making that page data-driven so that it, say, pulls in an auto-generated blob of JSON which describes the matchers and builds up the "matcher reference" part of the page with a small amount of JS. - There are some rogue .txt files hanging around. Also, I dropped the little dragon logo at the top because Sphinx was warning about an external image reference (not sure why, but meh, I didn't want to fight it). If anything, we would want such a logo integrated into the site's overall theme, rather than hardcoded here. llvm-svn: 170994
-
Nico Weber authored
"return a*b;" was formatted as "return a *b;" and is now formatted as "return a * b;". Fixes PR14687 partially. llvm-svn: 170993
-
Nico Weber authored
llvm-svn: 170992
-
- Dec 22, 2012
-
-
Craig Topper authored
llvm-svn: 170991
-
Craig Topper authored
llvm-svn: 170990
-
Jakob Stoklund Olesen authored
Back when this exception was added, it was skipping a lot more code, but now it just looks like a premature optimization. llvm-svn: 170989
-
Jakob Stoklund Olesen authored
The representation of the Operands array is going to change soon so it can be allocated from a BumpPtrAllocator. llvm-svn: 170988
-
Benjamin Kramer authored
llvm-svn: 170987
-
Benjamin Kramer authored
pmuludq is slow, but it turns out that all the unpacking and packing of the scalarized mul is even slower. 10% speedup on loop-vectorized paq8p. llvm-svn: 170985
-
Benjamin Kramer authored
Also loosen the SSSE3 dependency a bit, expanded pshufb + psra is still better than scalarized loads. Fixes PR14590. llvm-svn: 170984
-
Andy Gibbs authored
llvm-svn: 170983
-
Craig Topper authored
llvm-svn: 170982
-
Craig Topper authored
Use a negative value to represent INVALID_SIMPLE_VALUE_TYPE instead of 256. Its much cheaper for the isSimple() checks to look for values less than 0 rather than a value greater than 255. This shaves ~8k off the size of the llc binary on x86-64. llvm-svn: 170981
-
Argyrios Kyrtzidis authored
reached EOF and did not expand the argument into the source context. llvm-svn: 170980
-
Argyrios Kyrtzidis authored
code-completion results, the SourceManager state may be slightly different when code-completing. And we don't even care for diagnostics when code-completing, anyway. llvm-svn: 170979
-
Argyrios Kyrtzidis authored
a separate thread for code-completion. llvm-svn: 170978
-
Craig Topper authored
Add vAny and Metadata to the switch in getSizeInBits for consistency since every other enum was listed. llvm-svn: 170977
-
Richard Smith authored
PR14695: Fix assert from bad cast<>. Not every namespace is a NamespaceDecl; it might instead be a TranslationUnitDecl. llvm-svn: 170976
-
Jim Ingham authored
llvm-svn: 170975
-
Ted Kremenek authored
This was removed with -Wunique-enum, which is still removed. The corresponding thread on cfe-comments for that warning is here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-September/024224.html If we get specific user feedback for -Wduplicate-enum we can evaluate whether or not to keep it. llvm-svn: 170974
-
Daniel Dunbar authored
- Also, don't print headers if we aren't going to print any diagnostics. llvm-svn: 170973
-
Bill Wendling authored
Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of attribute instead of the value of the attribute. llvm-svn: 170972
-
Ted Kremenek authored
Fix typo: objc_no_direct_instance_variable_assignmemt => objc_no_direct_instance_variable_assignment. Fixes <rdar://problem/12927551>. llvm-svn: 170971
-
Richard Smith authored
uninitialized value against a default value. Found by -fsanitize=enum. llvm-svn: 170970
-
Anna Zaks authored
The new callback greatly simplifies the checker. llvm-svn: 170969
-
Richard Smith authored
llvm-svn: 170968
-