- Sep 29, 2016
-
-
Simon Pilgrim authored
The shuffle mask decodes have a large amount of repeated code extracting/splitting mask values from Constant data. This patch pulls all of this duplicated code into a single helper function to identify undef elements and combine/split constant integer data into the requested shuffle mask elements. Updated PSHUFB/VPERMIL/VPERMIL2/VPPERM decoders to use it (VPERMV/VPERMV3 could be converted as well in the future). llvm-svn: 282720
-
Simon Pilgrim authored
llvm-svn: 282719
-
Dylan McKay authored
llvm-svn: 282718
-
Volkan Keles authored
llvm-svn: 282717
-
Simon Atanasyan authored
LLD does not update relocations addends when generate a relocatable object. That is why we should not write a non-zero GP0 value into the .reginfo and .MIPS.options sections. And we should not accept input object files with non-zero GP0 value because we cannot handle them properly. llvm-svn: 282716
-
Simon Atanasyan authored
llvm-svn: 282715
-
Simon Atanasyan authored
In case of linking PIC and non-PIC code together and generation of a relocatable object, all PIC symbols should have STO_MIPS_PIC flag in the symbol table of the ouput file. llvm-svn: 282714
-
Dylan McKay authored
llvm-svn: 282713
-
Dylan McKay authored
I accidentally comitted it. llvm-svn: 282712
-
Dylan McKay authored
Summary: This adds AVRISelLowering.cpp Reviewers: kparzysz, arsenm Subscribers: wdng, beanz, mgorny Differential Revision: https://reviews.llvm.org/D25034 llvm-svn: 282711
-
Aditya Kumar authored
This reverts commit r282679. Ninja check fails, reverting to debug the issue. llvm-svn: 282710
-
George Rimar authored
I took the input from https://llvm.org/bugs/show_bug.cgi?id=30540, it was "id_000000,sig_11,src_000000,op_flip1,pos_98" File contains invalid symbol name offset (too large) and lld just crashes, patch fixes the issue. Differential revision: https://reviews.llvm.org/D24970 llvm-svn: 282709
-
Eugene Leviant authored
Differential revision: https://reviews.llvm.org/D25033 llvm-svn: 282708
-
George Rimar authored
llvm-svn: 282707
-
George Rimar authored
llvm-svn: 282706
-
Eugene Leviant authored
If we two sections reside in the same PT_LOAD segment, we compute second section using the following formula: Off2 = Off1 + VA2 - VA1. This allows OS kernel allocating sections correctly when loading an image. Differential revision: https://reviews.llvm.org/D25014 llvm-svn: 282705
-
Vassil Vassilev authored
This reduces the build size from 17G to 1.9G on my machine. llvm-svn: 282704
-
Igor Kudrin authored
Revert r282692: Use fallback_malloc to allocate __cxa_eh_globals in case of dynamic memory exhaustion. The test breaks build bots. llvm-svn: 282703
-
Jonas Hahnfeld authored
Until someone rewrites the stdlib logic for Darwin so that we don't need to pass down the -stdlib argument to cc1. (see https://llvm.org/bugs/show_bug.cgi?id=30548) Differential Revision: https://reviews.llvm.org/D24601 llvm-svn: 282701
-
Vitaly Buka authored
llvm-svn: 282695
-
Vitaly Buka authored
llvm-svn: 282694
-
Craig Topper authored
Why does Folded Spill comments print with a different number of # characters on different systems? llvm-svn: 282693
-
Igor Kudrin authored
Throwing an exception for the first time may lead to call calloc to allocate memory for __cxa_eh_globals. If the memory pool is exhausted at that moment, it results in abnormal termination of the program. This patch addresses the issue by using fallback_malloc in that case. Differential Revision: https://reviews.llvm.org/D17815 llvm-svn: 282692
-
Craig Topper authored
llvm-svn: 282691
-
Craig Topper authored
This adds new pseudo instructions that can be selected during register allocation to represent loads and stores of XMM/YMM registers when AVX512F is available, but VLX isn't. They will be converted to VEX encoded moves if the register turns out to be XMM0-15/YMM0-15. Otherwise either an EVEX VEXTRACT(store) or VBROADCAST(load) will be used. Fixes one of the cases from PR29112. llvm-svn: 282690
-
Craig Topper authored
llvm-svn: 282689
-
Craig Topper authored
[AVX-512] Replicate pattern from AVX to select VMOVDDUP for (v2f64 (X86VBroadcast f64:)). Add AVX512VL to command line of existing AVX2 test that hits this condition. llvm-svn: 282688
-
Craig Topper authored
llvm-svn: 282687
-
Craig Topper authored
llvm-svn: 282686
-
Craig Topper authored
llvm-svn: 282685
-
Craig Topper authored
llvm-svn: 282684
-
Jason Molenda authored
a large stack frame with lots of spilled registers. While writing the i386 version of this test, it looks like I found a bug in the 32-bit instruction profiler code. I may ned to fix the assembly inspection engine before I can finish writing that test, so I'm only committing the 64-bit one tonight. <rdar://problem/28509178> llvm-svn: 282683
-
Vitaly Buka authored
llvm-svn: 282682
-
Shoaib Meenai authored
Add underscore aliases for strtof_l and strtod_l. _strtold_l exists in VS 2013 and above, so fix that definition as a drive-by fix. Differential Revision: https://reviews.llvm.org/D25059 llvm-svn: 282681
-
Justin Bogner authored
All of the other tablegen'd include files are named .gen, so it's best to be consistent. llvm-svn: 282680
-
Aditya Kumar authored
Inlining the destructor caused the compiler to generate bad IR which failed the Verifier in the backend. https://llvm.org/bugs/show_bug.cgi?id=30341 This patch disables alias to available_externally definitions. Reviewers: eugenis, rsmith Differential Revision: https://reviews.llvm.org/D24682 llvm-svn: 282679
-
Peter Collingbourne authored
llvm-svn: 282678
-
Eric Christopher authored
AsmPrinter. This was reinitializing the Mangler after we moved the Mangler down to TLOF and causing us to have two different unnamed global values accessed with the same name. This should fix the problems on the ubsan tests here: http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/15307 llvm-svn: 282675
-
Eric Christopher authored
we can just use the size of the DenseMap as a unique counter. llvm-svn: 282674
-
Eric Christopher authored
line or the other commented out place. llvm-svn: 282673
-