- Mar 28, 2012
-
-
Michael J. Spencer authored
Also fix some Platform.h includes that somehow got missed last time. llvm-svn: 153590
-
Michael J. Spencer authored
library depends on Core. This breaks that cycle. llvm-svn: 153589
-
Michael J. Spencer authored
llvm-svn: 153588
-
Chad Rosier authored
Original commit message for r153521 (aka r153423): Use the new range metadata in computeMaskedBits and add a new optimization to instruction simplify that lets us remove an and when loding a boolean value. llvm-svn: 153587
-
Kostya Serebryany authored
llvm-svn: 153586
-
David Chisnall authored
Patch by Dmitri Shubin! llvm-svn: 153585
-
Fariborz Jahanian authored
provide 'fixit' hint when dictionary index is not of proper type. // rdar://11062080 llvm-svn: 153584
-
Greg Clayton authored
Converted commented out printf statements for dynamic type logging to use the log for "log enabe lldb types". llvm-svn: 153583
-
Greg Clayton authored
llvm-svn: 153582
-
Anna Zaks authored
retry without inlining. (+ other minor cleanups) llvm-svn: 153581
-
Anna Zaks authored
the root function. (This is a bit cleaner then using the StackFrame.) llvm-svn: 153580
-
Pete Cooper authored
llvm-svn: 153579
-
NAKAMURA Takumi authored
llvm-svn: 153578
-
Douglas Gregor authored
concerning qualified declarator-ids. We now diagnose extraneous qualification at namespace scope (which we had previously missed) and diagnose these qualification errors for all kinds of declarations; it was rather uneven before. Fixes <rdar://problem/11135644>. llvm-svn: 153577
-
Benjamin Kramer authored
GlobalOpt: If we have an inbounds GEP from a ConstantAggregateZero global that we just determined to be constant, replace all loads from it with a zero value. llvm-svn: 153576
-
Douglas Gregor authored
search for the specialization (in a folding set) and, if not found form a *Decl that is then inserted into that folding set. In rare cases, the folding set may be reallocated between the search and the insertion, causing a crash. No test case, because triggering rehashing consistently in a small test case is not feasible. Fixes <rdar://problem/11115071>. llvm-svn: 153575
-
Benjamin Kramer authored
llvm-svn: 153574
-
Richard Barton authored
llvm-svn: 153573
-
Chandler Carruth authored
blocks in the function cloner. This removes the last case of trivially dead code that I've been seeing in the wild getting inlined, analyzed, re-inlined, optimized, only to be deleted. Nukes a FIXME from the cleanup tests. llvm-svn: 153572
-
Eric Christopher authored
llvm-svn: 153571
-
Eric Christopher authored
and not the rest of the member tag. Fixes PR11695 llvm-svn: 153570
-
Ted Kremenek authored
llvm-svn: 153568
-
Bill Wendling authored
llvm-svn: 153567
-
Argyrios Kyrtzidis authored
llvm-svn: 153566
-
Argyrios Kyrtzidis authored
llvm-svn: 153565
-
Bill Wendling authored
llvm-svn: 153564
-
Sean Callanan authored
with recent Clang. Clang is now stricter about presence of complete types and about use of the "template" keyword in C++ for template-dependent types. llvm-svn: 153563
-
Argyrios Kyrtzidis authored
that libclang creates. -Introduce CXGlobalOptFlags enum for the new options that can be set on the CXIndex object. -CXGlobalOpt_ThreadBackgroundPriorityForIndexing affects: clang_indexSourceFile clang_indexTranslationUnit clang_parseTranslationUnit clang_saveTranslationUnit -CXGlobalOpt_ThreadBackgroundPriorityForEditing affects: clang_reparseTranslationUnit clang_codeCompleteAt clang_annotateTokens rdar://9075282 llvm-svn: 153562
-
Argyrios Kyrtzidis authored
it at global namespace. llvm-svn: 153561
-
Argyrios Kyrtzidis authored
due to compiler errors, use a crash recovery thread to do the AST writing for protection. llvm-svn: 153560
-
Enrico Granata authored
llvm-svn: 153559
-
Bill Wendling authored
llvm-svn: 153558
-
Akira Hatanaka authored
llvm-svn: 153557
-
Chad Rosier authored
llvm-svn: 153556
-
Akira Hatanaka authored
llvm-svn: 153555
-
Akira Hatanaka authored
llvm-svn: 153554
-
Akira Hatanaka authored
imposes a constraint that GOT16 referring to a local symbol or HI16 has to be followed immediately by a matching LO16 relocation. llvm-svn: 153553
-
Akira Hatanaka authored
them as machine instructions. Directives ".set noat" and ".set at" are now emitted only at the beginning and end of a function except in the case where they are emitted to enclose .cpload with an immediate operand that doesn't fit in 16-bit field or unaligned load/stores. Also, make the following changes: - Remove function isUnalignedLoadStore and use a switch-case statement to determine whether an instruction is an unaligned load or store. - Define helper function CreateMCInst which generates an instance of an MCInst from an opcode and a list of operands. llvm-svn: 153552
-
Akira Hatanaka authored
any side effects. llvm-svn: 153551
-
Chandler Carruth authored
flag as GCC uses: -fstrict-enums). There is a *lot* of code making unwarranted assumptions about the underlying type of enums, and it doesn't seem entirely reasonable to eagerly break all of it. Much more importantly, the current state of affairs is *very* good at optimizing based upon this information, which causes failures that are very distant from the actual enum. Before we push for enabling this by default, I think we need to implement -fcatch-undefined-behavior support for instrumenting and trapping whenever we store or load a value outside of the range. That way we can track down the misbehaving code very quickly. I discussed this with Rafael, and currently the only important cases he is aware of are the bool range-based optimizations which are staying hard enabled. We've not seen any issue with those either, and they are much more important for performance. llvm-svn: 153550
-