- Oct 04, 2012
-
-
Preston Gurd authored
fast div/rem instruction (for Intel Atom). Test case for llvm commit 165126. Patch by Tyler Nowicki. llvm-svn: 165129
-
Tim Northover authored
Patch by Amara Emerson. llvm-svn: 165128
-
Preston Gurd authored
instruction (for Intel Atom) was not being done by Clang, because the type context used by Clang is not the default context. It fixes the problem by getting the global context types for each div/rem instruction in order to compare them against the types in the BypassTypeMap. Tests for this will be done as a separate patch to Clang. Patch by Tyler Nowicki. llvm-svn: 165126
-
Nadav Rotem authored
is not profitable in many cases because modern processors perform multiple stores in parallel and merging stores prior to merging requires extra work. We handle two main cases: 1. Store of multiple consecutive constants: q->a = 3; q->4 = 5; In this case we store a single legal wide integer. 2. Store of multiple consecutive loads: int a = p->a; int b = p->b; q->a = a; q->b = b; In this case we load/store either ilegal vector registers or legal wide integer registers. llvm-svn: 165125
-
Jordan Rose authored
...and fix the run line so that the expected warnings are the same on all platforms. This reverts r165088 / d09074f0ca06626914108f1c0d4e70adeb851e01. llvm-svn: 165124
-
- Oct 03, 2012
-
-
Preston Gurd authored
Corrects a problem whereby MCSchedModel was not being set up when the CPU type was auto-detected. Patch by Andy Zhang. llvm-svn: 165122
-
Alexander Potapenko authored
llvm-svn: 165120
-
Benjamin Kramer authored
llvm-svn: 165119
-
Benjamin Kramer authored
llvm-svn: 165118
-
Benjamin Kramer authored
Part of PR14005. llvm-svn: 165117
-
Nico Weber authored
Currently, it's ignored if the number of set bits isn't divisible by 4. llvm-svn: 165116
-
Daniel Jasper authored
http://clang.llvm.org/docs/ClangTools.html, this adds -fixit option to clang-check. Thus, clang-check can become a general-purpose tool to run clang capitalizing on the info stored in a compilation database. Review: http://llvm-reviews.chandlerc.com/D51 llvm-svn: 165110
-
Dmitry Vyukov authored
llvm-svn: 165109
-
Dmitry Vyukov authored
llvm-svn: 165108
-
Dmitry Vyukov authored
llvm-svn: 165107
-
Dmitry Vyukov authored
llvm-svn: 165106
-
Logan Chien authored
llvm-svn: 165105
-
Dmitri Gribenko authored
regex for version tuples. llvm-svn: 165104
-
Bill Wendling authored
can't have the logic here to add in the 'tools/{driver,libclang}' directories, because they will be added in for ALL Makefiles which #include the top-level one. Place the logic into the 'tools' Makefile. llvm-svn: 165103 -
Silviu Baranga authored
Fixed a bug in the ExecutionDependencyFix pass that caused dependencies to not propagate through implicit defs. llvm-svn: 165102
-
Chandler Carruth authored
a memcpy to reflect that '0' has a different meaning when applied to a load or store. Now we correctly use underaligned loads and stores for the test case added. llvm-svn: 165101
-
Chandler Carruth authored
necessary during rewriting. As part of this, fix a real think-o here where we might have left off an alignment specification when the address is in fact underaligned. I haven't come up with any way to trigger this, as there is always some other factor that reduces the alignment, but it certainly might have been an observable bug in some way I can't think of. This also slightly changes the strategy for placing explicit alignments on loads and stores to only do so when the alignment does not match that required by the ABI. This causes a few redundant alignments to go away from test cases. I've also added a couple of tests that really push on the alignment that we end up with on loads and stores. More to come here as I try to fix an underlying bug I have conjectured and produced test cases for, although it's not clear if this bug is the one currently hitting dragonegg's gcc47 bootstrap. llvm-svn: 165100
-
Eric Christopher authored
more detail. llvm-svn: 165099
-
Bill Wendling authored
llvm-svn: 165098
-
Alexey Samsonov authored
llvm-svn: 165097
-
Alexey Samsonov authored
Build ASan runtime on Linux for both x86_64 and i386, same as we do with full compiler_rt and libprofile llvm-svn: 165096
-
Nico Weber authored
* nullptr used to be mapped to ERROR, now mapped to nullptr * integral was missing * expressions now have their own error message, so they won't reach this. Map them to ERROR. Note that clang usually crashes before emitting this diagnostic anyway (see PR13984), so this change alone doesn't have an observable effect. It makes the code more correct though. llvm-svn: 165095
-
Craig Topper authored
llvm-svn: 165094
-
Nico Weber authored
This matches what's done in ItaniumMangle and makes it a bit easier to implement mangling for more expressions. Also use the slightly nicer "not yet implemented" error message from there. No functionality change (except for the different error message). llvm-svn: 165093
-
Craig Topper authored
Remove unused function that used to get itineraries from SubTargetFeatures. This is done from MCSubTargetInfo these days. llvm-svn: 165092
-
Nico Weber authored
llvm-svn: 165091
-
John McCall authored
llvm-svn: 165090
-
Craig Topper authored
llvm-svn: 165089
-
NAKAMURA Takumi authored
InlineObjCInstanceMethod.m: Remove lines introduced in r165079. It broke some builds, on FreeBSD, Linux and Windows. error: 'warning' diagnostics expected but not seen: Line 94: types are incompatible 1 error generated. llvm-svn: 165088
-
Argyrios Kyrtzidis authored
ImportDecl's module ID was not written out and the reader accepted as module ID the serialized: Record.push_back(!IdentifierLocs.empty()); llvm-svn: 165087
-
Argyrios Kyrtzidis authored
of a module file. llvm-svn: 165086
-
Argyrios Kyrtzidis authored
llvm-svn: 165085
-
Argyrios Kyrtzidis authored
when an ImportDecl that was implicitly created due to an inclusion directive. llvm-svn: 165084
-
Argyrios Kyrtzidis authored
llvm-svn: 165083
-
Michael Han authored
- General C++11 attributes were previously parsed and ignored. Now they are parsed and stored in AST. - Add support to parse arguments of attributes that in 'gnu' namespace. - Differentiate unknown attributes and known attributes that can't be applied to statements when emitting diagnostic. llvm-svn: 165082
-