- Feb 11, 2019
-
-
Eric Fiselier authored
llvm-svn: 353650
-
Eric Fiselier authored
llvm-svn: 353649
-
Simon Pilgrim authored
llvm-svn: 353648
-
Simon Pilgrim authored
Shows missing SimplifyDemandedBits support llvm-svn: 353647
-
Simon Pilgrim authored
No change in default behaviour (AllowUndefs = false) llvm-svn: 353646
-
Simon Pilgrim authored
Now that we have SimplifyDemandedBits support for funnel shifts (rL353539), we need to simplify funnel shifts back to bitshifts in cases where either argument has been folded to undef/zero. Differential Revision: https://reviews.llvm.org/D58009 llvm-svn: 353645
-
- Feb 10, 2019
-
-
Simon Pilgrim authored
I've avoided 'modulo' masks as we'll SimplifyDemandedBits those in the future, and we just need to check that the shift variable is 'in range' llvm-svn: 353644
-
Raphael Isemann authored
Summary: Replace 0xc9 (LEAVE) with 0xcb (RETF) in ret_pattern_p(). Also put 0xc3 first, since it is the most common form and will match first. Reviewers: jasonmolenda Reviewed By: jasonmolenda Subscribers: labath, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D57928 llvm-svn: 353643
-
Raphael Isemann authored
Summary: Update the OpenBSD Host.cpp for the new SetFile() function signature. Fixes compiling lldb on OpenBSD. Reviewers: krytarowski Reviewed By: krytarowski Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D57907 llvm-svn: 353642
-
Sanjay Patel authored
256-bit horizontal math ops are an x86 monstrosity (and thankfully have not been extended to 512-bit AFAIK). The two 128-bit halves operate on separate halves of the inputs. So if we don't demand anything in the upper half of the result, we can extract the low halves of the inputs, do the math, and then insert that result into a 256-bit output. All of the extract/insert is free (ymm<-->xmm), so we're left with a narrower (cheaper) version of the original op. In the affected tests based on: https://bugs.llvm.org/show_bug.cgi?id=33758 https://bugs.llvm.org/show_bug.cgi?id=38971 ...we see that the h-op narrowing can result in further narrowing of other math via existing generic transforms. I originally drafted this patch as an exact pattern match starting from extract_vector_elt, but I thought we might see diffs starting from extract_subvector too, so I changed it to a more general demanded elements solution. There are no extra existing regression test improvements from that switch though, so we could go back. Differential Revision: https://reviews.llvm.org/D57841 llvm-svn: 353641
-
Simon Pilgrim authored
As suggested on D58009 llvm-svn: 353640
-
Sanjay Patel authored
SimplifySetCC still has much room for improvement, but this should fix the remaining problem examples from: https://bugs.llvm.org/show_bug.cgi?id=40657 The initial fix for this problem was rL353615. llvm-svn: 353639
-
Simon Pilgrim authored
llvm-svn: 353638
-
Fangrui Song authored
isInstructionTriviallyDead also performs the use_empty() check. llvm-svn: 353637
-
George Rimar authored
This was introduced by me in r353613. I tried to fix Big-endian bot and replaced uintX_t -> ELFT::Xword. But ELFT::Xword is a packed<uint64_t>, so it is always 8 bytes and that was obviously incorrect. My intention was to use something like packed<uint> actually, which size is target dependent. Patch fixes this bug and adds a test case, since no bots seems reported this. llvm-svn: 353636
-
Fangrui Song authored
llvm-svn: 353635
-
Eric Fiselier authored
Different versions of python print dictionaries in different orders. This can mess up diffs when updating ABI lists. This patch uses pprint.pformat to print the dicts to get a consistent ordering. llvm-svn: 353634
-
Eric Fiselier authored
The itoa symbols were added and their addition is documented in the CHANGELOG. I'm not sure why the valarray symbols were missing previously, but they're present in the v1 ABI lists and should be here as well. llvm-svn: 353633
-
Eric Fiselier authored
llvm-svn: 353632
-
Craig Topper authored
We don't have any assembler predicates for vector ISAs so this isn't necessary. It just adds extra lines and identation. llvm-svn: 353631
-
Craig Topper authored
llvm-svn: 353630
-
James Y Knight authored
The various EltSize, Offset, DataLayout, and StructLayout arguments are all computable from the Address's element type and the DataLayout which the CGBuilder already has access to. After having previously asserted that the computed values are the same as those passed in, now remove the redundant arguments from CGBuilder's Create*GEP functions. Differential Revision: https://reviews.llvm.org/D57767 llvm-svn: 353629
-
Simon Pilgrim authored
If one of the shifted arguments is undef we should be folding to a regular shift. llvm-svn: 353628
-
Vitaly Buka authored
This change is preparation for fiber support. Author: yuri (Yuri Per) Reviewed in: https://reviews.llvm.org/D57876 Context: https://reviews.llvm.org/D54889 > llvm-svn: 353385 llvm-svn: 353627
-
Simon Pilgrim authored
As discussed on D57389, this is a first step towards moving the SHLD/SHRD matching code to DAGCombiner using FSHL/FSHR instead. There's a bit of work to do before I can do that, so this just folds to FSHL/FSHR in the existing code (handling the different SHRD/FSHR argument ordering), which fixes the issue we had with i16 shift amounts not being correctly masked. llvm-svn: 353626
-
Sanjay Patel authored
llvm-svn: 353625
-
Vitaly Buka authored
llvm-svn: 353624
-
Vitaly Buka authored
llvm-svn: 353623
-
Kamil Rytarowski authored
Reported on the NetBSD buildbot. llvm-svn: 353622
-
Nico Weber authored
llvm-svn: 353621
-
Nico Weber authored
Differential Revision: https://reviews.llvm.org/D57952 llvm-svn: 353620
-
Sanjay Patel authored
There's effectively no difference for the cases with variables. We just trade a sub for an add on those. But the case with a subtract from constant would require an extra move instruction on x86, so this looks like a reasonable generic combine. llvm-svn: 353619
-
Sanjay Patel authored
llvm-svn: 353618
-
Vitaly Buka authored
llvm-svn: 353617
-
Simon Pilgrim authored
llvm-svn: 353616
-
- Feb 09, 2019
-
-
Sanjay Patel authored
llvm-svn: 353615
-
George Rimar authored
Fixes errors like: /home/ssglocal/clang-cmake-x86_64-sde-avx512-linux/clang-cmake-x86_64-sde-avx512-linux/llvm/tools/yaml2obj/yaml2elf.cpp:597:5: error: need ‘typename’ before ‘ELFT:: Xword’ because ‘ELFT’ is a dependent scope ELFT::Xword Tag = (ELFT::Xword)DE.Tag; llvm-svn: 353614 -
George Rimar authored
s390x is big-endian and seems r353607 had an issue with endianess, Bot was unhappy: http://lab.llvm.org:8011/builders/clang-s390x-linux-lnt/builds/11168/steps/ninja%20check%201/logs/stdio This should fix it. llvm-svn: 353613
-
Nikita Popov authored
This reverts commit r353611. Triggers an assertion during the libcall expansion on ARM. llvm-svn: 353612
-
Nikita Popov authored
In preparation for supporting vector expansion. Also drop a variant of ExpandLibCall, of which the MULO expansions were the only user. llvm-svn: 353611
-