- Sep 23, 2014
-
-
Alexander Musman authored
llvm-svn: 218299
-
Daniel Sanders authored
llvm-svn: 218298
-
Michael Kuperstein authored
This includes constants, attributes, and some additional instructions not covered by previous tests. Work was done by lama.saba@intel.com. llvm-svn: 218297
-
Artyom Skrobov authored
llvm-svn: 218296
-
Argyrios Kyrtzidis authored
[ADT/IntrusiveRefCntPtr] Give friend access to IntrusiveRefCntPtr<X> so the relevant move constructor can access 'Obj'. llvm-svn: 218295
-
Alexander Musman authored
llvm-svn: 218294
-
David Majnemer authored
Don't mangle all casts in expressions as "cv", use the appropriate encoding which corresponds to a specific cast. This fixes PR21034. Differential Revision: http://reviews.llvm.org/D5453 llvm-svn: 218293
-
Nico Weber authored
Also add a test to make sure that this doesn't break again. Fixes PR21036. llvm-svn: 218292
-
Jason Molenda authored
was broken in r214984 by the addition of an unconditional error return at the start of the code block handling this method. Remove the errant lines. <rdar://problem/18416691> llvm-svn: 218291
-
NAKAMURA Takumi authored
'extern "C" static' is not accepted by g++-4.7. Rather to tweak, I just removed 'extern "C"', since it doesn't affect the ABI. llvm-svn: 218290
-
NAKAMURA Takumi authored
I missed to add it since I suppressed checks on win32 in r215590. llvm-svn: 218289
-
Hans Wennborg authored
The type of size_t varies between targets. llvm-svn: 218288
-
Reid Kleckner authored
In particular, pre-.init_array ELF uses the .ctors section mechanism. MinGW COFF also uses .ctors, now that I think about it. Therefore, restrict this optimization to the two platforms that are currently known to work: ELF with .init_array and COFF with .CRT$XCU. llvm-svn: 218287
-
Marshall Clow authored
Fix some type-traits (is_assignable, etc) dealing with classes that take non-const references as 'right hand side'. Add tests. Fixes PR# 20836 llvm-svn: 218286
-
Reid Kleckner authored
We need to walk the class hierarchy twice: once in depth-first base specifier order for mangling and again in depth-first layout order for vftable layout. Vftable layout seems to depend on the full path from the most derived class to the base containing the vfptr. Fixes PR21031. llvm-svn: 218285
-
Sanjay Patel authored
We manage to generate all of the matching instructions (and a lot more) via the reciprocal optimization function - even if we completely remove the square root optimization. With CHECK_NEXT, we assure that we're executing the expected square root optimization paths and not generating extra insts. llvm-svn: 218284
-
Chris Bieneman authored
llvm-svn: 218283
-
Chandler Carruth authored
td pattern). Currently we only model the immediate operand variation of VPERMILPS and VPERMILPD, we should make that clear in the pseudos used. Will be adding support for the variable mask variant in my next commit. llvm-svn: 218282
-
Kaelyn Takata authored
llvm-svn: 218281
-
Kaelyn Takata authored
when assertions are disabled. llvm-svn: 218280
-
Greg Clayton authored
If you "command script import" this file, then you will have two new commands: (lldb) tk-variables (lldb) tk-process Not sure how this will work on all other systems, but on MacOSX, you will get a window with a tree view that allows you to inspect your local variables by expanding variables to see the child values. The "tk-process" allows you to inspect the currently selected process by expanding the process to see the threads, the threads to see the frames, and the frames to see the variables. Very handy if you want to view variables for all frames simultaneously. llvm-svn: 218279
-
Sanjay Patel authored
llvm-svn: 218278
-
Chandler Carruth authored
support. No interesting functionality yet, but this will let me implement one vector type at a time. llvm-svn: 218277
-
Yaron Keren authored
Comparing ModuleName to the file names listed will always fail. I wonder how this code ever worked and what its purpose was. Why exclude the msvc runtime DLLs but not exclude all Windows system DLLs? Anyhow, it does not function as intended. clang-formatted as well. llvm-svn: 218276
-
Juergen Ributzka authored
Shift-left immediate with sign-/zero-extensions also works for boolean values. Update the assert and the test cases to reflect that fact. This should fix a bug found by Chad. llvm-svn: 218275
-
Benjamin Kramer authored
While there fix the cmake shared build. llvm-svn: 218274
-
Rui Ueyama authored
A symbol in a module definition file may be annotated with the PRIVATE keyword like this. EXPORTS func PRIVATE The PRIVATE keyword does not affect the resulting .dll file. But it prevents the symbol to be listed in the .lib (import library) file. llvm-svn: 218273 -
Rui Ueyama authored
llvm-svn: 218272
-
Ehsan Akhgari authored
Summary: This is a test for this patch: http://reviews.llvm.org/D5445. Reviewers: rnk Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5446 llvm-svn: 218271
-
Ehsan Akhgari authored
Summary: This fixes a couple of issues. One is ensuring that AOK_Label rewrite rules have a lower priority than AOK_Skip rules, as AOK_Skip needs to be able to skip the brackets properly. The other part of the fix ensures that we don't overwrite Identifier when looking up the identifier, and that we use the locally available information to generate the AOK_Label rewrite in ParseIntelIdentifier. Doing that in CreateMemForInlineAsm would be problematic since the Start location there may point to the beginning of a bracket expression, and not necessarily the beginning of an identifier. This also means that we don't need to carry around the InternlName field, which helps simplify the code. Test Plan: This will be tested on the clang side. Reviewers: rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5445 llvm-svn: 218270
-
David Majnemer authored
We've implemented MSVC-style RTTI for quite some time. llvm-svn: 218269
-
David Majnemer authored
Don't consider ReadOnlyWithRel as a writable section in COFF, they really belong in .rdata. llvm-svn: 218268
-
Chandler Carruth authored
These are just test cases, no actual code yet. This establishes the baseline fallback strategy we're starting from on AVX2 and the expected lowering we use on AVX1. Also, these test cases are very much generated. I've manually crafted the specific pattern set that I'm hoping will be useful at exercising the lowering code, but I've not (and could not) manually verify *all* of these. I've spot checked and they seem legit to me. As with the rest of vector shuffling, at a certain point the only really useful way to check the correctness of this stuff is through fuzz testing. llvm-svn: 218267
-
Ehsan Akhgari authored
Summary: r218229 made this function return a dummy nullptr in order to avoid API breakage between clang/llvm. Reviewers: rnk Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5432 llvm-svn: 218266
-
Ehsan Akhgari authored
Test Plan: I noticed this through code inspection. The callers use the return value to remove the SectionAttr if a diagnostic is emitted, but I don't think the failure to do so is observable right now. Reviewers: rnk Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5438 llvm-svn: 218265
-
Alexey Samsonov authored
llvm-svn: 218264
-
Sanjay Patel authored
Use broadcasts to optimize overall size when loading constant splat vectors (x86-64 with AVX or AVX2). We generate broadcast instructions on CPUs with AVX2 to load some constant splat vectors. This patch should preserve all existing behavior with regular optimization levels, but also use splats whenever possible when optimizing for *size* on any CPU with AVX or AVX2. The tradeoff is up to 5 extra instruction bytes for the broadcast instruction to save at least 8 bytes (up to 31 bytes) of constant pool data. Differential Revision: http://reviews.llvm.org/D5347 llvm-svn: 218263
-
Rui Ueyama authored
This commit reverts r218259 because it needed to be checked in with a few binary files for the test. llvm-svn: 218262
-
Akira Hatanaka authored
llvm-svn: 218261
-
Kaelyn Takata authored
Only tests under test/Driver should use %clang, and test/CodeGen in particular must always use %clang_cc1. llvm-svn: 218260
-