- Jul 08, 2016
-
-
Peter Smith authored
This seems to be causing a buildbot failure on lld-x86_64-freebsd. Will reproduce locally and fix. llvm-svn: 274841
-
Asiri Rathnayake authored
Just a minor code cleanup. NFC. llvm-svn: 274840
-
Haojian Wu authored
Patch by Kirill Bobyrev! Reviewers: kimgr, alexfh, bkramer, ioeric, hokein Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D22100 llvm-svn: 274839
-
Vassil Vassilev authored
Patch by Cristina Cristescu! Reviewed by Adrian Prantl (D21985) llvm-svn: 274838
-
Pankaj Gode authored
Support for the macro fusion of simple ALU ops with branches for the Vulcan sub-target. Patch by Meador Inge <meadori@gmail.com> Differential Revision: http://reviews.llvm.org/D22042 llvm-svn: 274837
-
Peter Smith authored
Generalise the Mips LA25 Thunk code and implement ARM and Thumb interworking Thunks. - Introduce a new module Thunks.cpp to store the Target Specific Thunk implementations. - DefinedRegular and Shared have a ThunkData field to record Thunk. - A Target can have more than one type of Thunk. - Support PC-relative calls to Thunks. - Support Thunks to PLT entries. - Existing Mips LA25 Thunk code integrated. - Support for ARMv7A interworking Thunks. Limitations: - Only one Thunk per SymbolBody, this is sufficient for all currently implemented Thunks. - ARM thunks assume presence of V6T2 MOVT and MOVW instructions. Differential revision: http://reviews.llvm.org/D21891 llvm-svn: 274836
-
Alexander Kornienko authored
Reviewers: klimek Subscribers: cfe-commits, klimek Patch by Martin Boehme! Differential Revision: http://reviews.llvm.org/D21799 llvm-svn: 274835
-
Alexander Kornienko authored
Summary: CFG generation is expected to fail in this case, but it should not crash. Also added a test that reproduces the crash. Reviewers: klimek Subscribers: cfe-commits Patch by Martin Boehme! Differential Revision: http://reviews.llvm.org/D21895 llvm-svn: 274834
-
Simon Pilgrim authored
Until we have a better way to extract constants through bitcasted build vectors (and how to handle undefs of partial lanes etc.) at least accept build vectors that are all zeroes. llvm-svn: 274833
-
Haojian Wu authored
Summary: This is an initial version of fixing namespace issues by adding missing namespace qualifiers to an unidentified symbol. This version only fixes the first discovered unidentified symbol. In the long run, include-fixer should fix all unidentified symbols with a same name at one run. Currently, it works on command-line tool. The vim integration is not implemented yet. Reviewers: klimek, bkramer, djasper Subscribers: bkramer, ioeric, cfe-commits Differential Revision: http://reviews.llvm.org/D21603 llvm-svn: 274832
-
Vassil Vassilev authored
Original commit message: "Add postorder traversal support to the RecursiveASTVisitor. This feature needs to be explicitly enabled by overriding shouldTraversePostOrder() as it has performance drawbacks for the iterative Stmt-traversal. Patch by Raphael Isemann! Reviewed by Richard Smith and Benjamin Kramer." llvm-svn: 274830
-
Matt Arsenault authored
For some reason extract_vector_elt is sometimes allowed to have a different result type than the vector element type. llvm-svn: 274829
-
George Rimar authored
When building executable usually version script is absent. Before this patch error was shown in the case when symbol name contained version and there was no script to match it. Instead of error out patch allows to create new version declaration in this case and use it. gnu linkers do the same. That is PR28359. Differential revision: http://reviews.llvm.org/D21890 llvm-svn: 274828
-
Craig Topper authored
I'm not sure if clang ever used these builtin names or not. llvm-svn: 274827
-
Craig Topper authored
llvm-svn: 274826
-
Craig Topper authored
[X86] Remove dead builtins that don't exist in the backend intrinsic file and don't have custom handling in CGBuiltins.cpp either. llvm-svn: 274825
-
Wei Mi authored
Differential Revision: http://reviews.llvm.org/D22124 llvm-svn: 274824
-
Craig Topper authored
[CodeGen] Use llvm::Type::getVectorNumElements instead of casting to llvm::VectorType and calling getNumElements. This is equivalent and shorter. llvm-svn: 274823
-
Jim Ingham authored
This is just an SB API way of doing "thread return -x". <rdar://problem/27110360> llvm-svn: 274822
-
Craig Topper authored
llvm-svn: 274821
-
Craig Topper authored
[X86] Remove a couple calls to create V2F64 and V4F32 types for builtin handling. Just get the type from the operand of the builtin instead. NFC llvm-svn: 274820
-
Mehdi Amini authored
I have an LTO snapshot (for which I don't have sources) that can't be read back by LLVM. It seems the writer emitted broken bitcode and this assertions aims at catching such cases. llvm-svn: 274819
-
Matt Arsenault authored
llvm-svn: 274818
-
Matt Arsenault authored
Also this will be more precise since it will check exec_lo/exec_hi writes. llvm-svn: 274817
-
Devin Coughlin authored
This proposed patch adds crude handling of atomics to the static analyzer. Rather than ignore AtomicExprs, as we now do, this patch causes the analyzer to escape the arguments. This is imprecise -- and we should model the expressions fully in the future -- but it is less wrong than ignoring their effects altogether. This is rdar://problem/25353187 Differential Revision: http://reviews.llvm.org/D21667 llvm-svn: 274816
-
Saleem Abdulrasool authored
Windows on ARM uses a pure thumb-2 environment. This means that it can select a high register when doing a __builtin_longjmp. We would use a tLDRi which would truncate the register to a low register. Use a t2LDRi12 to get the full register file access. Tweak the code to just load into PC, as that is an interworking branch on all supported cores anyways. llvm-svn: 274815
-
Saleem Abdulrasool authored
This reverts SVN r274797. It broke the Green Dragon bot. Revert it until the failure can be addressed. llvm-svn: 274814
-
Andrew Kaylor authored
llvm-svn: 274813
-
Andrew Kaylor authored
llvm-svn: 274812
-
Piotr Padlewski authored
Summary: fixed very old document Reviewers: tejohnson, pcc Subscribers: mehdi_amini, eraman, llvm-commits Differential Revision: http://reviews.llvm.org/D22121 llvm-svn: 274811
-
Greg Clayton authored
Fix it so that we only grab the typedef from the module DWARF file if the type that is typedef'ed is a declaration. This fixes the following bugs: <rdar://problem/26870890> [PR28156] TestWithModuleDebugging.py: failing on macOS https://llvm.org/bugs/show_bug.cgi?id=27412 https://llvm.org/bugs/show_bug.cgi?id=28156 llvm-svn: 274809
-
Rui Ueyama authored
Previously, it was not tested because the test was written in a way that it passed on a platform that does not support abi::__cxa_demangle. Now we restrict this test to Unix (by adding "REQUIRES: shell") and assume that it always demangle symbols. Thanks to Davide to find out the issue. llvm-svn: 274808
-
Jacques Pienaar authored
Summary: * Similiar to the ARM backend yse the peephole optimizer to generate more conditional ALU operations; * Add predicated type with default always true to RR instructions in LanaiInstrInfo.td; * Move LanaiSetflagAluCombiner into optimizeCompare; * The ASM parser can currently only handle explicitly specified CC, so specify ".t" (true) where needed in the ASM test; * Remove unused MachineOperand flags; Reviewers: eliben Subscribers: aemerson Differential Revision: http://reviews.llvm.org/D22072 llvm-svn: 274807
-
Davide Italiano authored
llvm-svn: 274806
-
Michael Kuperstein authored
llvm-svn: 274805
-
Rui Ueyama authored
Symbols.cpp contains functions to handle ELF symbols. demangle() function is essentially a function to work on a string rather than on an ELF symbol. So Strings.cpp is a better place to put that function. This change also make demangle to demangle symbols unconditionally. Previously, it demangled symbols only when Config->Demangle is true. llvm-svn: 274804
-
Rafael Espindola authored
But it was doing that for protected undefined symbols. llvm-svn: 274803
-
Michael Kuperstein authored
xorl + setcc is generally the preferred sequence due to the partial register stall setcc + movzbl suffers from. As a bonus, it also encodes one byte smaller. This fixes PR28146. The original commit tried inserting an 8bit-subreg into a GR32 (not GR32_ABCD) which was not appreciated by fast regalloc on 32-bit. llvm-svn: 274802
-
Vedant Kumar authored
GCOVProfiler::emitProfileArcs() can create many variables with names starting with "__llvm_gcov_ctr", so llvm appends a numeric suffix to most of them. Teach tsan about this. llvm-svn: 274801
-
Vedant Kumar authored
SM.isWrittenInSameFile() calls getFileID(), which can be expensive. Move this check behind some cheaper filters. llvm-svn: 274800
-