- Oct 16, 2013
-
-
Rafael Espindola authored
Patch by Stephen Checkoway. llvm-svn: 192827
-
Rafael Espindola authored
Aliases now have their own section where we document which linkages they can have. llvm-svn: 192825
-
Andrew Trick authored
This should fix the ATOM buildbot failing on break-avx-dep.ll. llvm-svn: 192824
-
Rafael Espindola authored
This patch fixes a small mistake in MCDataAtom::addData() where it doesn't ever call remap(): - if (Data.size() > Begin - End - 1) + if (Data.size() > End + 1 - Begin) remap(Begin, End + 1); This is currently not visible because of another bug is the disassembler, so the patch includes a unit test. Patch by Stephen Checkoway. llvm-svn: 192823
-
Anders Waldenborg authored
Like LLVMDumpModule but returns the string (that needs to be freed with LLVMDisposeMessage) instead of printing it to stderr. Differential Revision: http://llvm-reviews.chandlerc.com/D1941 llvm-svn: 192821
-
Arnold Schwaighofer authored
radar://15231682 Reapply r192799, http://lab.llvm.org:8011/builders/lldb-x86_64-debian-clang/builds/8226 showed that the bot is still broken even with this out. llvm-svn: 192820
-
Arnold Schwaighofer authored
This speculatively reverts commit 192799. It might have broken a linux buildbot. llvm-svn: 192816
-
Tom Stellard authored
We were calling llvm_unreachable() when failing to optimize the branch into if case. However, it is still possible for us to structurize the CFG by duplicating blocks even if this optimization fails. Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 192813
-
Tom Stellard authored
Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 192812
-
Rafael Espindola authored
llvm-svn: 192810
-
Andrew Kaylor authored
Patch by Dmitry Stogov llvm-svn: 192809
-
Chad Rosier authored
llvm-svn: 192806
-
Chad Rosier authored
llvm-svn: 192805
-
Rafael Espindola authored
Before this patch we would assert when building llvm as multiple shared libraries (cmake's BUILD_SHARED_LIBS). The problem was the line if (T.AsmStreamerCtorFn == Target::createDefaultAsmStreamer) which returns false because of -fvisibility-inlines-hidden. It is easy to fix just this one case, but I decided to try to also make the registration more strict. It looks like the old logic for ignoring followup registration was just a temporary hack that outlived its usefulness. This patch converts the ifs to asserts, fixes the few cases that were registering twice and makes sure all the asserts compare with null. Thanks for Joerg for reporting the problem and reviewing the patch. llvm-svn: 192803
-
Chad Rosier authored
value and unsigned saturating accumulate of signed value instructions. llvm-svn: 192800
-
Arnold Schwaighofer authored
radar://15231682 llvm-svn: 192799
-
Rafael Espindola authored
llvm-svn: 192796
-
Benjamin Kramer authored
This happens e.g. with <2 x i64> -1 on x86_32. It cannot be generated directly because i64 is illegal. It would be nice if getNOT would handle this transparently, but I don't see a way to generate a legal constant there right now. Fixes PR17487. llvm-svn: 192795
-
Kostya Serebryany authored
Summary: Given a global array G[N], which is declared in this CU and has static initializer avoid instrumenting accesses like G[i], where 'i' is a constant and 0<=i<N. Also add a bit of stats. This eliminates ~1% of instrumentations on SPEC2006 and also partially helps when asan is being run together with coverage. Reviewers: samsonov Reviewed By: samsonov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1947 llvm-svn: 192794
-
Richard Sandiford authored
The input to an RxSBG operation can be narrower as long as the upper bits are don't care. This fixes a FIXME added in r192783. llvm-svn: 192790
-
Rafael Espindola authored
Destroying the codegen also frees the path of the created object. Copy the path to a std::string. llvm-svn: 192787
-
Richard Sandiford authored
We previously used the default expansion to SELECT_CC, which in turn would expand to "LHI; BRC; LHI". In most cases it's better to use an IPM-based sequence instead. llvm-svn: 192784
-
Richard Sandiford authored
This is really an extension of the current (shl (shr ...)) -> shl optimization. The main difference is that certain upper bits must also not be demanded. The motivating examples are the first two in the testcase, which occur in llvmpipe output. llvm-svn: 192783
-
Alexey Samsonov authored
llvm-svn: 192781
-
Bill Wendling authored
This deletes the Module ivar instead of having the LTO code generater do it. It also sets the pointer to 'NULL', so that if it's used again it will abort quickly. llvm-svn: 192778
-
NAKAMURA Takumi authored
GNU AS didn't like quotes in symbol names. Error: junk at end of line, first unrecognized character is `"' .def "@feat.00"; "@feat.00" = 1 Reproduced on Cygwin's 2.23.52.20130309 and mingw32's 2.20.1.20100303. llvm-svn: 192775
-
Craig Topper authored
llvm-svn: 192773
-
Will Dietz authored
Introduce subtype_reverse_iterator to maintain the numbering assigned during the recursive type walk. llvm-svn: 192770
-
Rui Ueyama authored
The magic bytes should not include the trailing NUL byte. llvm-svn: 192769
-
Rafael Espindola authored
llvm-svn: 192767
-
Rafael Espindola authored
llvm-svn: 192764
-
Eric Christopher authored
1) Make sure we emit static member variables by checking at the end of createGlobalVariableDIE rather than piecemeal in the function. (As a note, createGlobalVariableDIE needs rewriting.) 2) Make sure we use the definition rather than declaration DIE for two things: a) determining linkage for gnu pubnames, and b) as the address of the DIE for global variables. (As a note, createGlobalVariableDIE really needs rewriting.) Adjust the testcase to make sure we're checking the correct DIEs. llvm-svn: 192761
-
Rafael Espindola authored
We had a MCAsmInfoCOFF, but no common class for all the ELF MCAsmInfos before. llvm-svn: 192760
-
Hans Wennborg authored
llvm-svn: 192759
-
Hans Wennborg authored
Because of win32 mangling, we produce symbol and section names with funny characters in them, most notably @ characters. MC would choke on trying to parse its own assembly output. This patch addresses that by: - Making @ trigger quoting of symbol names - Also quote section names in the same way - Just parse section names like other identifiers (to allow for quotes) - Don't assume @ signifies a symbol variant if it is in a string. Differential Revision: http://llvm-reviews.chandlerc.com/D1945 llvm-svn: 192758
-
Rafael Espindola authored
No functionality change, but exposes the API so that codegen can use it too. Patch by Katya Romanova. llvm-svn: 192757
-
Andrew Kaylor authored
llvm-svn: 192756
-
David Blaikie authored
llvm-svn: 192755
-
Andrew Kaylor authored
llvm-svn: 192754
-
Andrew Kaylor authored
Patch by Yaron Keren llvm-svn: 192753
-