- Jun 16, 2016
-
-
Rafael Espindola authored
We were dropping the CanOmitFromDynSym bit when creating undefined symbols because of comdat. llvm-svn: 272812
-
Amaury Sechet authored
Summary: As per title. This completes the C API Attribute support. Reviewers: Wallbraker, whitequark, echristo, rafael, jyknight Subscribers: mehdi_amini Differential Revision: http://reviews.llvm.org/D21365 llvm-svn: 272811
-
Qin Zhao authored
Summary: Reports the struct field access info only if it has been used at least once. Adds type printing size limit. Formats the cache_frag.cpp with clang-format. Reviewers: bruening Subscribers: llvm-commits, eugenis, kcc, zhaoqin, vitalybuka, aizatsky, kubabrecka Differential Revision: http://reviews.llvm.org/D21351 llvm-svn: 272810
-
Eric Fiselier authored
llvm-svn: 272809
-
Pankaj Gode authored
llvm-svn: 272808
-
Sanjay Patel authored
Sibling patch to r272806: http://reviews.llvm.org/rL272806 llvm-svn: 272807
-
Sanjay Patel authored
This allows us to emit native IR in Clang (next commit). Also, update the intrinsic tests to show that codegen already knows how to handle the IR that Clang will soon produce. llvm-svn: 272806
-
Sanjay Patel authored
llvm-svn: 272805
-
Eric Fiselier authored
llvm-svn: 272804
-
Benjamin Kramer authored
llvm-svn: 272803
-
David Majnemer authored
We would fail to validate the type of the tan function which would cause downstream users of isValidProtoForLibFunc to assert. This fixes PR28143. llvm-svn: 272802
-
Kevin B. Smith authored
Differential Revision: http://reviews.llvm.org/D21144 llvm-svn: 272801
-
Luke Drummond authored
During expression evaluation, the ClangExpressionParser preforms a number of hard-coded fixups on the expression's IR before the module is assembled and dispatched to be run in a ThreadPlan. This patch allows the runtimes to register LLVM passes to be run over the generated IR, that they may perform language or architecture-specfic fixups or analyses over the generated expression. This makes expression evaluation for plugins more flexible and allows language-specific fixes to reside in their own module, rather than littering the expression evaluator itself with language-specific fixes. llvm-svn: 272800
-
Nirav Dave authored
Reverting due to assertion failure in lib/CodeGen/SelectionDAG/InstrEmitter.cpp This reverts commit r272792. llvm-svn: 272799
-
Chris Dewhurst authored
[Sparc] setjmp and longjmp intrinsic support update to add unit tests and remove accidentally checked-in code. Related to revision r272782 llvm-svn: 272798
-
Kevin B. Smith authored
Differential Revision: http://reviews.llvm.org/D21085 llvm-svn: 272797
-
- Jun 15, 2016
-
-
Adam Nemet authored
This should help moving Strides to LAA later. llvm-svn: 272796
-
Benjamin Kramer authored
With minor manual tweaks. No functionality change intended. llvm-svn: 272795
-
Vasileios Kalintiris authored
Reviewers: dsanders, sdardis Subscribers: dsanders, sdardis, llvm-commits Differential Revision: http://reviews.llvm.org/D21381 llvm-svn: 272794
-
Aaron Ballman authored
llvm-svn: 272793
-
Nirav Dave authored
[DAG] Previously debug values would transfer debuginfo for the selected start node for a replacement which allows for debug to be dropped. Push debug value transfer to occur with node/value replacement in SelectionDAG, remove now extraneous transfers of debug values. This refixes PR9817 which was being incompletely checked in the testsuite. Reviewers: jyknight Subscribers: dblaikie, llvm-commits Differential Revision: http://reviews.llvm.org/D21037 llvm-svn: 272792
-
Ranjeet Singh authored
failure when running the test CodeGen/ARM/intrinsics-coprocessor.ll llvm-svn: 272791
-
Ranjeet Singh authored
added in the llvm patch is causing an assertion to fail. llvm-svn: 272790
-
Benjamin Kramer authored
No functionality change intended. llvm-svn: 272789
-
John Brawn authored
When static variables are used in inline functions in header files anything that uses that function ends up with a reference to the variable. Because RecursiveASTVisitor uses the inline functions in LambdaCapture that use static variables any AST plugin that uses RecursiveASTVisitor, such as the PrintFunctionNames example, ends up with a reference to these variables. This is bad on Windows when building with MSVC with LLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON as variables used across a DLL boundary need to be explicitly dllimported in the DLL using them. This patch avoids that by adjusting LambdaCapture to be similar to before r263921, with a capture of either 'this' or a VLA represented by a null Decl pointer in DeclAndBits with an extra flag added to the bits to distinguish between the two. This requires the use of an extra bit, and while Decl does happen to be sufficiently aligned to allow this it's done in a way that means PointerIntPair doesn't realise it and gives an assertion failure. Therefore I also adjust Decl slightly to use LLVM_ALIGNAS to allow this. Differential Revision: http://reviews.llvm.org/D20732 llvm-svn: 272788
-
Craig Topper authored
llvm-svn: 272787
-
Craig Topper authored
[AVX512] Remove the GCCBuiltins from the mask pcmpeq/pcmpgt intrinsics so we can emit native IR from clang. The intrinsics themselves can be removed in a future commit. llvm-svn: 272786
-
Valery Pykhtin authored
llvm-svn: 272785
-
Simon Dardis authored
Add missing testcase from r272666. llvm-svn: 272784
-
Michael Kruse authored
ScalarReplAggregatesPass was deprecated and replaced by SROAPass. ScalarReplAggregatesPass got finally removed in LLVM commit r272737, hence this patch is also a compile fix. llvm-svn: 272783
-
Chris Dewhurst authored
[Sparc] Change to let clang know that setjmp and longjmp intrinsics are implemented in the back-end. Differential Revision: http://reviews.llvm.org/D19798 llvm-svn: 272782
-
Adam Nemet authored
LoopVectorizationLegality::strides_begin/end are also unused. llvm-svn: 272781
-
Adam Nemet authored
LoopVectorizationLegality::mustCheckStrides is unused. llvm-svn: 272780
-
Dmitry Vyukov authored
llvm-svn: 272779
-
Ranjeet Singh authored
Differential Revision: http://reviews.llvm.org/D21178 llvm-svn: 272778
-
Ranjeet Singh authored
Patch adds intrinsics for mrrc/mrrc2. The intrinsics for mrrc/mrrc2 return a single uint64_t to represent two 32 bit values. The mcrr/mcrr2 intrinsic was changed to accept a single uint64_t instead of two 32 bit values as the input for consistency. Differential Revision: http://reviews.llvm.org/D21179 llvm-svn: 272777
-
Alexey Bataev authored
This reverts commit 0253605771b8bd9d414aba74fe2742c730d6fd1a. llvm-svn: 272776
-
Alexey Bataev authored
instantiation. Added checks for non-dependent context when trygin to capture non-constant schedule chunk expression for proper codegen of outlined functions. llvm-svn: 272775
-
Alexey Bataev authored
classes. MSVC actively uses unqualified lookup in dependent bases, lookup at the instantiation point (non-dependent names may be resolved on things declared later) etc. and all this stuff is the main cause of incompatibility between clang and MSVC. Clang tries to emulate MSVC behavior but it may fail in many cases. clang could store lexed tokens for member functions definitions within ClassTemplateDecl for later parsing during template instantiation. It will allow resolving many possible issues with lookup in dependent base classes and removing many already existing MSVC-specific hacks/workarounds from the clang code. llvm-svn: 272774
-
Haojian Wu authored
Reviewers: bkramer Subscribers: ioeric, cfe-commits Differential Revision: http://reviews.llvm.org/D21371 llvm-svn: 272773
-