- Oct 18, 2012
-
-
rdar://problem/12473675Bob Wilson authored
When building with LTO, the internalize pass is hiding some global symbols that are necessary for the JIT unittests. It seems like that may be a bug in LTO to do that by default, but until that gets fixed, this change makes sure that we export the necessary symbols for the tests to pass. llvm-svn: 166220
-
Eli Friedman authored
source locations in places where it is necessary for diagnostics. By itself, this causes assertions, so while I'm here, also fix property synthesis for properties of C++ class type so we use so we properly set up a scope and mark variable declarations. <rdar://problem/12514189>. llvm-svn: 166219
-
Benjamin Kramer authored
char-by-char is really slow on an unbuffered stream. llvm-svn: 166218
-
Sebastian Pop authored
Author: Quentin Neill <qneill@codeaurora.org> llvm-svn: 166217
-
Sebastian Pop authored
When merging stack slots, if StackColoring::remapInstructions gets a value back from GetUnderlyingObject that it does not know about or is not itself a stack slot, clear the memory operand in case it aliases the merged slot. This prevents the introduction of incorrect aliasing information. Author: Matthew Curtis <mcurtis@codeaurora.org> llvm-svn: 166216
-
Sebastian Pop authored
This more accurately reflects what is actually being stored in the field. No functionality change intended. Author: Matthew Curtis <mcurtis@codeaurora.org> llvm-svn: 166215
-
Chad Rosier authored
*NamedDecl. In turn, build the expressions after we're finished parsing the asm. This avoids a crasher if the lookup fails. llvm-svn: 166213
-
Chad Rosier authored
*NamedDecl. In turn, build the expressions after we're finished parsing the asm. This avoids a crasher if the lookup fails. llvm-svn: 166212
-
Anna Zaks authored
llvm-svn: 166211
-
Anna Zaks authored
This would make it possible for the analyzer to use the function. llvm-svn: 166210
-
Fariborz Jahanian authored
Patch by Dmitri Gribenko. llvm-svn: 166209
-
Axel Naumann authored
llvm-svn: 166208
-
Bob Wilson authored
This reverts commit 165776. The plug-in uses this symbol; it does not define it. It needs to be exported from bugpoint itself, not from the plug-in. llvm-svn: 166207
-
Douglas Gregor authored
single record. llvm-svn: 166206
-
Nadav Rotem authored
llvm-svn: 166205
-
Douglas Gregor authored
metadata record, which already had other version information. Clean up the block info block along the way. llvm-svn: 166204
-
Dmitri Gribenko authored
llvm-svn: 166203
-
Dmitri Gribenko authored
llvm-svn: 166202
-
Micah Villmow authored
llvm-svn: 166201
-
Meador Inge authored
llvm-svn: 166199
-
Meador Inge authored
This patch migrates the strcpy optimizations from the simplify-libcalls pass into the instcombine library call simplifier. Note also that StrCpyChkOpt has been updated with a few simplifications that were being done in the simplify-libcalls version of StrCpyOpt, but not in the migrated implementation of StrCpyOpt. There is no reason to overload StrCpyOpt with fortified and regular simplifications in the new model since there is already a dedicated simplifier for __strcpy_chk. llvm-svn: 166198
-
Eli Bendersky authored
llvm-svn: 166197
-
Nadav Rotem authored
In SimplifySelectOps we pulled two loads through a select node despite the fact that one was dependent on the other. rdar://12513091 llvm-svn: 166196
-
Douglas Gregor authored
file's control block. llvm-svn: 166195
-
Richard Smith authored
namespace. llvm-svn: 166194
-
Chad Rosier authored
llvm-svn: 166193
-
Fariborz Jahanian authored
llvm-svn: 166192
-
Nadav Rotem authored
When looking for a vector representation of a scalar, do a single lookup. Also, cache the result of the broadcast instruction. No functionality change. llvm-svn: 166191
-
Fariborz Jahanian authored
llvm-svn: 166190
-
Sid Manning authored
* Moves enum Scope from DefinedAtom.h to Atom.h * Adds scope method to AbsoluteAtom class * Updates YAML to print scope of AbsoluteAtoms * Update Native Reader/Writer to handle this new, "attribute" * Adds testcase Reviewed and approved by Nick Kledzik llvm-svn: 166189
-
David Blaikie authored
Within the body of the loop the underlying map may be modified via Sema::AddOverloadCandidate -> Sema::CompareReferenceRelationship -> Sema::RequireCompleteType to avoid the use of invalid iterators the sequence is copied first. A reliable, though large, test case is available - it will be reduced and committed shortly. Patch by Robert Muth. Review by myself, Nico Weber, and Rafael Espindola. llvm-svn: 166188
-
rdar://problem/12462048Greg Clayton authored
<rdar://problem/12068650> More fixes to how we handle paths that are used to create a target. This modification centralizes the location where and how what the user specifies gets resolved. Prior to this fix, the TargetList::CreateTarget variants took a FileSpec object which meant everyone had the opportunity to resolve the path their own way. Now both CreateTarget variants take a "const char *use_exe_path" which allows the TargetList::CreateTarget to centralize where the resolving happens and "do the right thing". llvm-svn: 166186
-
Chad Rosier authored
layer. Use the new ParseMSInlineAsm() API and add an implementation of the MCAsmParserSemaCallback interface. llvm-svn: 166184
-
Chad Rosier authored
layer. Add the ParseMSInlineAsm() function, which is the new interface to clang. Also expose the new MCAsmParserSemaCallback interface, which is used by the back-end to do name lookup in Sema. Finally, remove the now defunct APIs introduced in r165946. llvm-svn: 166183
-
Andy Gibbs authored
llvm-svn: 166181
-
Evgeniy Stepanov authored
llvm-svn: 166180
-
Dmitri Gribenko authored
fixes the tests for builds without libxml2. llvm-svn: 166179
-
Ulrich Weigand authored
test case on PowerPC caused by rounding errors when converting from a 64-bit integer to a single-precision floating point. The reason for this are double-rounding effects, since on PowerPC we have to convert to an intermediate double-precision value first, which gets rounded to the final single-precision result. The patch fixes the problem by preparing the 64-bit integer so that the first conversion step to double-precision will always be exact, and the final rounding step will result in the correctly-rounded single-precision result. The generated code sequence is equivalent to what GCC would generate. When -enable-unsafe-fp-math is in effect, that extra effort is omitted and we accept possible rounding errors (just like GCC does as well). llvm-svn: 166178
-
Alexey Samsonov authored
llvm-svn: 166177
-
Chandler Carruth authored
operate purely on values. Sink the alloca loading and storing logic into the rewrite routines that are specific to alloca-integer-rewrite driving. This is just a refactoring here, but the subsequent step will be to reuse the insertion and extraction logic when rewriting integer loads and stores that have been split and decomposed into narrower loads and stores. No functionality changed other than different names for instructions. llvm-svn: 166176
-