- Dec 11, 2013
-
-
David Blaikie authored
llvm-svn: 197072
-
Chad Rosier authored
use f32/f64 types, rather than their vector equivalents. llvm-svn: 197071
-
Chad Rosier authored
floating-point reciprocal square root step LLVM AArch64 intrinsics to use f32/f64 types, rather than their vector equivalents. llvm-svn: 197070
-
Chad Rosier authored
point reciprocal exponent, and floating-point reciprocal square root estimate LLVM AArch64 intrinsics to use f32/f64 types, rather than their vector equivalents. llvm-svn: 197069
-
Chad Rosier authored
use f32/f64 types, rather than their vector equivalents. llvm-svn: 197068
-
Chad Rosier authored
floating-point reciprocal square root step LLVM AArch64 intrinsics to use f32/f64 types, rather than their vector equivalents. llvm-svn: 197067
-
Chad Rosier authored
point reciprocal exponent, and floating-point reciprocal square root estimate LLVM AArch64 intrinsics to use f32/f64 types, rather than their vector equivalents. llvm-svn: 197066
-
Ed Maste authored
llvm-svn: 197065
-
Rafael Espindola authored
llvm-svn: 197064
-
Howard Hinnant authored
Fix demangling crasher. The crasher involved nested <encoding> involving parameter packs, which exposed a logic bug causing an empty vector<string> to be accessed with back(). In addition to fixing the bug, I've inserted numerous preemptive checks for similar bugs in the hopes that if another bug is uncovered, the bug results in an invalid mangled string instead of a demangler crash. Test suite updated with string that was causing the crash. llvm-svn: 197063
-
Logan Chien authored
Replace -arch with -triple so that we can guarantee that ELF object files can be generated. llvm-svn: 197062
-
Marshall Clow authored
Move std::begin(array) and std::end(array) out from under an #ifdef that was preventing people from building libc++ using gcc. This corrects a mistake that I introduced in r196058 llvm-svn: 197061
-
Reid Kleckner authored
We were mistakengly giving linkonce_odr linkage instead of internal linkage to the deleting and complete destructor thunks for classes in anonymous namespaces. Fixes PR17273. llvm-svn: 197060
-
Jordan Rose authored
Found by Arthur Yoo! llvm-svn: 197059
-
Tom Stellard authored
This makes it a little easier to read. Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 197058
-
Tom Stellard authored
This enables -print-before-all to dump MachineInstrs after it is run. Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 197057
-
Tom Stellard authored
This enables -print-before-all to dump MachineInstrs after it is run. Reviewed-by: Vincent Lejeune <vljn at ovi.com> llvm-svn: 197056
-
Hans Wennborg authored
Methods are thiscall by default in the MS ABI, and also in MinGW targetting GCC 4.7 or later. This changes the diagnostic from the technically correct but hard to understand: virtual function 'foo' has different calling convention attributes ('void ()') than the function it overrides (which has calling convention 'void () __attribute__((thiscall))') to the more intuitive and also correct: 'static' member function 'foo' overrides a virtual function We already have a test for this. Let's just run it in both ABI modes. Differential Revision: http://llvm-reviews.chandlerc.com/D2375 llvm-svn: 197055
-
Logan Chien authored
llvm-svn: 197052
-
Benjamin Kramer authored
Found by "cppcheck". PR18208. llvm-svn: 197047
-
Tim Northover authored
The tests were no longer using fast-isel at all (MachO needs an "ios" rather than "darwin" triple at the moment and Linux needs ARM mode). Once that was corrected, the verifier complained about a t2ADDri created for the alloca. llvm-svn: 197046
-
Alp Toker authored
Based on a patch by Neil Henning! llvm-svn: 197045
-
Renato Golin authored
llvm-svn: 197043
-
Elena Demikhovsky authored
I moved a test from avx512-vbroadcast-crash.ll to avx512-vbroadcast.ll I defined HasAVX512 predicate as AssemblerPredicate. It means that you should invoke llvm-mc with "-mcpu=knl" to get encoding for AVX-512 instructions. I need this to let AsmMatcher to set different encoding for AVX and AVX-512 instructions that have the same mnemonic and operands (all scalar instructions). llvm-svn: 197041
-
Kostya Serebryany authored
llvm-svn: 197040
-
Rui Ueyama authored
llvm-svn: 197039
-
Rui Ueyama authored
Before this patch, we had the following class hierarchy. Chunk -> AtomChunk -> SectionChunk -> GenericSectionChunk -> BaseRelocChunk -> HeaderChunk Chunk represented the generic concept of contiguous range in an output file. AtomChunk represented a chunk consists of atoms. That class hierarchy had many issues: 1) BaseRelocChunk does not really consist of atoms, so inheriting from AtomChunk was plainly wrong, and 2) the hierarchy is unecessarily too deep. This patch correct them. The new hierachy is shown below. Chunk -> SectionChunk -> AtomChunk -> BaseRelocChunk -> HeaderChunk In the new hierarchy, AtomChunk represents a chunk consists of atoms. Other types of sections (currently only BaseRelocChunk) should inherit directly from SectionChunk. llvm-svn: 197038
-
Kostya Serebryany authored
[asan] if verbosity>=2, print the fake stack usage stats at thread exit; No functionality change in non-verboze mode llvm-svn: 197037
-
David Tweed authored
With the introduction of explicit address space casts into LLVM, there's a need to provide a new cast kind the front-end can create for C/OpenCL/CUDA and code to produce address space casts from those kinds when appropriate. Patch by Michele Scandale! llvm-svn: 197036
-
Daniel Jasper authored
llvm-svn: 197035
-
Daniel Jasper authored
Includes might always pull in arbitrary header or data files outside of modules. Among others, this includes builtin includes, which do not have a module (story) yet. Also cleanup implementation of ModuleMap::findModuleForHeader() to be non-recursive. llvm-svn: 197034
-
Tim Northover authored
The soft-float variants of (embedded) libclang_rt only make sense for ARM, so there's no point in trying to build them if the compiler is only capable of targeting x86. llvm-svn: 197033
-
Richard Sandiford authored
In such cases it's often better to test the result of the negation instead, since the negation also sets CC. llvm-svn: 197032
-
Evgeniy Stepanov authored
llvm-svn: 197031
-
Richard Sandiford authored
DAGCombiner could fold (truncate (load)) -> smaller load if the original load was the width of the truncation result or wider. This patch extends it to handle cases where the original load was narrower (and so the extension type stays the same). llvm-svn: 197030
-
Evgeniy Stepanov authored
Patch by Qin Zhao. llvm-svn: 197029
-
Tim Northover authored
We need to filter out architectures that the compiler hasn't been built to target (most likely the ARM ones) before attemptint to build a version of libcompiler_rt. This can result in a completely empty library (e.g. soft-float doesn't have any x86 variants), in which case we shouldn't even try the build llvm-svn: 197028
-
Rui Ueyama authored
Also removed unused field. llvm-svn: 197027
-
Evgeniy Stepanov authored
Before we did it lazily on the first stack unwind in the thread. It resulted in deadlock when the unwind was caused by memory allocation inside pthread_getattr_np: pthread_getattr_np <<< not reentable GetThreadStackTopAndBottom __interceptor_realloc pthread_getattr_np llvm-svn: 197026
-
Rui Ueyama authored
No functionality change. llvm-svn: 197025
-