- Aug 08, 2013
-
-
Dmitry Vyukov authored
llvm-svn: 187980
-
Edwin Vane authored
Summary: This patch adds tooling::deduplicate() which removes duplicates from and looks for conflicts in a vector of Replacements. Differential Revision: http://llvm-reviews.chandlerc.com/D1314 llvm-svn: 187979
-
Evgeniy Stepanov authored
llvm-svn: 187978
-
Alexey Samsonov authored
llvm-svn: 187977
-
Benjamin Kramer authored
llvm-svn: 187976
-
Benjamin Kramer authored
llvm-svn: 187975
-
Andrea Di Biagio authored
llvm-svn: 187974
-
Mihai Popa authored
The name "tCDP" isn't used anywhere else in the source code, so renaming it for consistency doesn't cause any problems. This is the only Thumb2 instruction defined with "t" prefix; all other Thumb2 instructions have "t2" prefix (e.g. "t2CDP2" which is defined immediately afterwards). Patch by Artyom Skrobov. llvm-svn: 187973
-
Alexey Samsonov authored
llvm-svn: 187972
-
Evgeniy Stepanov authored
r187967: Disable inlining between sanitized and non-sanitized functions. llvm-svn: 187971
-
Eric Christopher authored
contains the vtable pointer for the class as the operand at index 12. Replace the i32 0 with a null MDNode. llvm-svn: 187970
-
Chandler Carruth authored
'-fno-unroll-loops'. The option to the backend is even called 'DisableUnrollLoops'. This is precisely the form that Clang *didn't* support. We didn't recognize the flag, we didn't pass it to the CC1 layer, and even if we did we wouldn't use it. Clang only inspected the positive form of the flag, and only did so to enable loop unrolling when the optimization level wasn't high enough. This only occurs for an optimization level that even has a chance of running the loop unroller when optimizing for size. This commit wires up the 'no' variant, and switches the code to actually follow the standard flag pattern of using the last flag and allowing a flag in either direction to override the default. I think this is still wrong. I don't know why we disable the loop unroller entirely *from Clang* when optimizing for size, as the loop unrolling pass *already has special logic* for the case where the function is attributed as optimized for size! We should really be trusting that. Maybe in a follow-up patch, I don't really want to change behavior here. llvm-svn: 187969
-
Alexey Samsonov authored
llvm-svn: 187968
-
Evgeniy Stepanov authored
Inlining between functions with different values of sanitize_* attributes leads to over- or under-sanitizing, which is always bad. llvm-svn: 187967
-
Eric Christopher authored
be void and therefore not have a type entry. Only add the type if it is non-void and provide a testcase. llvm-svn: 187966
-
Craig Topper authored
Remove AllUndef check from one of the loops in getVectorShuffle. It was already handled by the 'AllLHS && AllRHS' check after the previous loop. llvm-svn: 187965
-
Eric Christopher authored
llvm-svn: 187964
-
Eric Christopher authored
the type exists. Fix up cases where we weren't checking for optional types and add an assert to addType to make sure we catch this in the future. Fix up a testcase that was using the tag for DW_TAG_array_type when it meant DW_TAG_enumeration_type. llvm-svn: 187963
-
Eric Christopher authored
llvm-svn: 187962
-
Craig Topper authored
llvm-svn: 187961
-
Hal Finkel authored
Making use of the recently-added ISD::FROUND, which allows for custom lowering of round(), the PPC backend will now map frin to round(). Previously, we had been using frin to lower nearbyint() (and rint() via some custom lowering to handle the extra fenv flags requirements), but only in fast-math mode because frin does not tie-to-even. Several users had complained about this behavior, and this new mapping of frin to round is certainly more appropriate (and does not require fast-math mode). In effect, this reverts r178362 (and part of r178337, replacing the nearbyint mapping with the round mapping). llvm-svn: 187960
-
Arnold Schwaighofer authored
Zhihao Yuan: Replace operator& with addressof in reference_wrapper constructor. It breaks a clang bootstrap. llvm-svn: 187959
-
Richard Trieu authored
so that it can be toggled independently of other deprecated warnings. llvm-svn: 187958
-
Arnold Schwaighofer authored
It broke a public build bot. llvm-svn: 187957
-
David Majnemer authored
This reverts commit r77814. We were sticking global constants in the .data section instead of in the .rdata section when emitting for COFF. This fixes PR16831. llvm-svn: 187956
-
Richard Trieu authored
Fixes PR16394. llvm-svn: 187955
-
Eric Christopher authored
llvm-svn: 187954
-
Eric Christopher authored
llvm-svn: 187953
-
Filipe Cabecinhas authored
llvm-svn: 187952
-
Filipe Cabecinhas authored
llvm-svn: 187951
-
Chandler Carruth authored
LLVMConfig.cmake file that is (I think) used in the stand-alone Clang build, and causing link errors there w.r.t. curses. llvm-svn: 187950
-
Alexander Kornienko authored
Summary: This is consistent with MacOSX implementation, and most terminals actually display this character (checked on gnome-terminal, lxterminal, lxterm, Terminal.app, iterm2). Actually, this is in line with the ISO Latin 1 standard (ISO 8859-1), which defines it differently from the Unicode Standard. More information here: http://www.cs.tut.fi/~jkorpela/shy.html Reviewers: gribozavr, jordan_rose CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1310 llvm-svn: 187949
-
Filipe Cabecinhas authored
Summary: UBSan was checking for alignment of the derived class on the pointer to the base class, before converting. With some class hierarchies, this could generate false positives. Added test-case. llvm-svn: 187948
-
Ted Kremenek authored
llvm-svn: 187947
-
Michael Gottesman authored
Revert "[objc-arc] Track if we encountered an additive overflow while computing {TopDown,BottomUp}PathCounts and do nothing if it occured." This reverts commit r187941. The commit was passing on my os x box, but it is failing on some non-osx platforms. I do not have time to look into it now, so I am reverting and will recommit after I figure this out. llvm-svn: 187946 -
Hans Wennborg authored
These flags set some preprocessor macros and injects a dependency on the runtime library into the object file, which later is picked up by the linker. This also adds a new CC1 flag for adding a dependent library. Differential Revision: http://llvm-reviews.chandlerc.com/D1315 llvm-svn: 187945
-
Peter Collingbourne authored
llvm-svn: 187944
-
John Thompson authored
llvm-svn: 187943
-
John Thompson authored
llvm-svn: 187942
-
Michael Gottesman authored
[objc-arc] Track if we encountered an additive overflow while computing {TopDown,BottomUp}PathCounts and do nothing if it occured. rdar://14590914 llvm-svn: 187941
-