summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* initial draft of PPCMachObjectWriter.cppDavid Fang2013-08-087-22/+502
| | | | | | | | this records relocation entries in the mach-o object file for PIC code generation. tested on powerpc-darwin8, validated against darwin otool -rvV llvm-svn: 188004
* Fix off-by-one error in Regex::isValidAlexey Samsonov2013-08-082-1/+9
| | | | llvm-svn: 187992
* R600/SI: Implement fp32<->fp64 conversionsNiels Ole Salscheider2013-08-084-2/+27
| | | | llvm-svn: 187988
* R600/SI: Implement sint<->fp64 conversionsNiels Ole Salscheider2013-08-084-2/+30
| | | | llvm-svn: 187987
* Use pop_back() instead of pop_back_val() when the returned value is not used.Jakub Staszak2013-08-081-4/+4
| | | | llvm-svn: 187986
* Remove the now redundant FeatureFP16 from the Cortex-A15 feature list. It ↵Silviu Baranga2013-08-081-1/+1
| | | | | | was made redundant when FeatureVFP4 was added which implies FP16. llvm-svn: 187985
* Fix the comment.Jakub Staszak2013-08-081-1/+1
| | | | llvm-svn: 187984
* Use EXPECT_TRUE/EXPECT_FALSE to avoid bogus warnings from the guts of gtest.Benjamin Kramer2013-08-081-20/+20
| | | | llvm-svn: 187976
* test commit.Andrea Di Biagio2013-08-081-1/+1
| | | | llvm-svn: 187974
* The name "tCDP" isn't used anywhere else in the source code, so renaming it ↵Mihai Popa2013-08-081-1/+1
| | | | | | | | | | 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
* DISubprogram metadata have an MDNode representing which base typeEric Christopher2013-08-081-1/+1
| | | | | | | contains the vtable pointer for the class as the operand at index 12. Replace the i32 0 with a null MDNode. llvm-svn: 187970
* Disable inlining between sanitized and non-sanitized functions.Evgeniy Stepanov2013-08-082-5/+135
| | | | | | | Inlining between functions with different values of sanitize_* attributes leads to over- or under-sanitizing, which is always bad. llvm-svn: 187967
* For DW_TAG_template_type_parameter the actual passed in type couldEric Christopher2013-08-082-1/+57
| | | | | | | 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
* Remove AllUndef check from one of the loops in getVectorShuffle. It was ↵Craig Topper2013-08-081-5/+1
| | | | | | already handled by the 'AllLHS && AllRHS' check after the previous loop. llvm-svn: 187965
* The conversion to bool is fine here, no need to check isType.Eric Christopher2013-08-081-1/+1
| | | | llvm-svn: 187964
* Make sure that if we're going to attempt to add a type to a DIE thatEric Christopher2013-08-084-16/+27
| | | | | | | | | | | | 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
* Change variable name and reflow formatting.Eric Christopher2013-08-081-10/+10
| | | | llvm-svn: 187962
* Optimize mask generation for one of the DAG combiner shufflevector cases.Craig Topper2013-08-081-3/+3
| | | | llvm-svn: 187961
* PPC: Map frin to round() not nearbyint() and rint()Hal Finkel2013-08-083-137/+10
| | | | | | | | | | | | | | | 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
* Revert "coff also doesn't have a ReadOnlySection yet, (!)"David Majnemer2013-08-082-0/+9
| | | | | | | | | | | 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
* Reflow for loop.Eric Christopher2013-08-081-2/+2
| | | | llvm-svn: 187954
* Be more rigorous about the sizes of forms and attributes.Eric Christopher2013-08-088-84/+84
| | | | llvm-svn: 187953
* Add three missing CMake variables that need to make it to theChandler Carruth2013-08-081-0/+3
| | | | | | | 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
* Changed isPrint for U+00AD SOFT HYPHEN to return true.Alexander Kornienko2013-08-082-187/+193
| | | | | | | | | | | | | | | | | 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
* Forward resetColor() et al to the underlying stream.Ted Kremenek2013-08-081-0/+21
| | | | llvm-svn: 187947
* Revert "[objc-arc] Track if we encountered an additive overflow while ↵Michael Gottesman2013-08-082-1095/+6
| | | | | | | | | | | | 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
* Fix ARM build.Peter Collingbourne2013-08-081-1/+1
| | | | llvm-svn: 187944
* [objc-arc] Track if we encountered an additive overflow while computing ↵Michael Gottesman2013-08-072-6/+1095
| | | | | | | | {TopDown,BottomUp}PathCounts and do nothing if it occured. rdar://14590914 llvm-svn: 187941
* [objc-arc] Change 4 iterator methods which return const_iterators to be ↵Michael Gottesman2013-08-071-4/+4
| | | | | | const methods. llvm-svn: 187940
* Reapply r185872 now that the address sanitizer has been changed to support this.Bill Wendling2013-08-072-10/+9
| | | | | | | | | | | | | | | | | | | | | Original commit message: Stop emitting weak symbols into the "coal" sections. The Mach-O linker has been able to support the weak-def bit on any symbol for quite a while now. The compiler however continued to place these symbols into a "coal" section, which required the linker to map them back to the base section name. Replace the sections like this: __TEXT/__textcoal_nt instead use __TEXT/__text __TEXT/__const_coal instead use __TEXT/__const __DATA/__datacoal_nt instead use __DATA/__data <rdar://problem/14265330> llvm-svn: 187939
* Really unbreak Mac build.Peter Collingbourne2013-08-071-1/+1
| | | | llvm-svn: 187938
* Unbreak Mac build.Peter Collingbourne2013-08-071-1/+1
| | | | llvm-svn: 187937
* [lit] Remove unnecessary list copy.Daniel Dunbar2013-08-071-1/+1
| | | | llvm-svn: 187934
* [lit] Always list individual UNRESOLVED tests.Daniel Dunbar2013-08-071-2/+3
| | | | llvm-svn: 187933
* [lit] Explicitly convert dict items() result to a list.Daniel Dunbar2013-08-071-1/+1
| | | | llvm-svn: 187932
* [lit] Make string encoding issues explicit.Daniel Dunbar2013-08-072-1/+6
| | | | llvm-svn: 187931
* [tests] Make string encoding issues explicit.Daniel Dunbar2013-08-071-3/+3
| | | | llvm-svn: 187929
* [tests] Avoid deprecated except syntax.Daniel Dunbar2013-08-072-2/+8
| | | | llvm-svn: 187928
* Add ISD::FROUND for libm round()Hal Finkel2013-08-0719-3/+168
| | | | | | | | | | | | | | | All libm floating-point rounding functions, except for round(), had their own ISD nodes. Recent PowerPC cores have an instruction for round(), and so here I'm adding ISD::FROUND so that round() can be custom lowered as well. For the most part, this is straightforward. I've added an intrinsic and a matching ISD node just like those for nearbyint() and friends. The SelectionDAG pattern I've named frnd (because ISD::FP_ROUND has already claimed fround). This will be used by the PowerPC backend in a follow-up commit. llvm-svn: 187926
* DataFlowSanitizer; LLVM changes.Peter Collingbourne2013-08-0710-0/+1276
| | | | | | | | | | | | | DataFlowSanitizer is a generalised dynamic data flow analysis. Unlike other Sanitizer tools, this tool is not designed to detect a specific class of bugs on its own. Instead, it provides a generic dynamic data flow analysis framework to be used by clients to help detect application-specific issues within their own code. Differential Revision: http://llvm-reviews.chandlerc.com/D965 llvm-svn: 187923
* [lit] Report the traceback when config import fails.Daniel Dunbar2013-08-071-0/+5
| | | | llvm-svn: 187920
* [lit] Avoid comparisons with None.Daniel Dunbar2013-08-071-1/+3
| | | | llvm-svn: 187919
* [lit] Use list comprehensions instead of map().Daniel Dunbar2013-08-073-3/+4
| | | | llvm-svn: 187918
* [lit] Avoid deprecated dict.has_key() method.Daniel Dunbar2013-08-071-2/+2
| | | | llvm-svn: 187917
* Using the integrated assembler we'd fail to change section to theEric Christopher2013-08-072-2/+36
| | | | | | | | | .tbss section for zerofill thread locals. Make sure we do this before emitting the zerofills. Fixes PR15972. llvm-svn: 187913
* Fix a FIXME, on darwin all virtual sections have a zerofill type.Eric Christopher2013-08-071-1/+2
| | | | llvm-svn: 187912
* On Windows, autolink advapi32 from Path.inc for CryptAcquireContextWReid Kleckner2013-08-071-0/+4
| | | | | | | | | | | This allows llvm-tblgen to link successfully when compiling with clang. Both MSBuild and CMake will automatically add advapi32 as part of a set of other dlls comprising the win32 API to the link line, but CMake doesn't do that when compiling with clang. Until someone adds that info to cmake upstream, this seems like a reasonable work around. llvm-svn: 187907
* Add the common begin/end naming convention to the coding standard.Rafael Espindola2013-08-071-1/+3
| | | | llvm-svn: 187902
* Move assert above first use of variable that we'd be asserting on.Eric Christopher2013-08-071-2/+2
| | | | llvm-svn: 187899
* lit/LitConfig.py: Fixup for msys bash.NAKAMURA Takumi2013-08-071-1/+1
| | | | llvm-svn: 187896
OpenPOWER on IntegriCloud