- Apr 26, 2017
-
-
Matt Arsenault authored
There is no need to copy the operands or inspect the sources. Also remove some unnecessary clamp/omod usage. llvm-svn: 301363
-
Sanjay Patel authored
Also, use AVX2 to show a potential difference for 256-bit vectors. llvm-svn: 301362
-
Krzysztof Parzyszek authored
llvm-svn: 301361
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D32504 llvm-svn: 301360
-
Sanjay Patel authored
llvm-svn: 301359
-
Zachary Turner authored
llvm-svn: 301358
-
Zachary Turner authored
We were already parsing and dumping this to the human readable format, but not to the YAML format. This does so, in preparation for reading it in and reconstructing the line information from YAML. llvm-svn: 301357
-
Zachary Turner authored
We already have a function toHex that will convert a string like "\xFF\xFF" to the string "FFFF", but we do not have one that goes the other way - i.e. to convert a textual string representing a sequence of hexadecimal characters into the corresponding actual bytes. This patch adds such a function. llvm-svn: 301356
-
Rui Ueyama authored
Looks like `echo "{_start;};"` on lld-x86_64-win7 bot echoes `_start;;` for some reason. I cannot reproduce the issue locally. I suspect that it might be interpreting {<word>} in a special way. This patch is to attempt to fix it by appending space characters. llvm-svn: 301353 -
Matthias Braun authored
rdar://31520787 llvm-svn: 301352
-
Adrian Prantl authored
The fix consists of resetting LocationKind when addMachineRegExpression fails. rdar://problem/31803010 llvm-svn: 301351
-
Frederich Munch authored
Summary: LLVM JIT needs to be able to use emulated TLS on all platforms, and this provides a reference one can compile to enable emutls for Linux/Mac/Windows. Reviewers: chh, howard.hinnant Reviewed By: chh Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D30787 llvm-svn: 301350
-
Jonathan Peyton authored
Older Hwloc libraries (< 1.10.0) don't offer the HWLOC_OBJ_NUMANODE nor HWLOC_OBJ_PACKAGE types. Instead they are named HWLOC_OBJ_NODE and HWLOC_OBJ_SOCKET instead. This patch just defines the newer names based on the older names when using an older Hwloc. Differential Revision: https://reviews.llvm.org/D32496 llvm-svn: 301349
-
Carlo Bertolli authored
llvm-svn: 301348
-
Petr Hosek authored
This may trigger a segfault in llvm-objdump when the line number stored in debug infromation points beyond the end of file; lines in LineBuffer are stored in std::vector which is allocated in chunks, so even if the debug info points beyond the end of the file, this doesn't necessarily trigger the segfault unless the line number points beyond the allocated space. Differential Revision: https://reviews.llvm.org/D32466 llvm-svn: 301347
-
Krzysztof Parzyszek authored
llvm-svn: 301346
-
Gil Rapaport authored
This patch is part of D28975's breakdown. induction.ll encodes the specific (and rather arbitrary) numbers given to predicated basic blocks by the unique naming mechanism, which makes it sensitive to changes in LV's instruction generation order. This patch replaces those specific numbers with a numeric pattern. Differential Revision: https://reviews.llvm.org/D32404 llvm-svn: 301345
-
Davide Italiano authored
llvm-svn: 301344
-
Stanislav Mekhanoshin authored
Differential Revisison: https://reviews.llvm.org/D32101 llvm-svn: 301343
-
Simon Pilgrim authored
llvm-svn: 301342
-
Craig Topper authored
The code I've removed here exists in ExpandBinOp in InstSimplify which we call into before SimplifyUsingDistributiveLaws. The code in InstSimplify looks to have been copied from here. I verified this code doesn't fire on any lit tests. Not that that proves its definitely dead. Differential Revision: https://reviews.llvm.org/D32472 llvm-svn: 301341
-
Carlo Bertolli authored
[OpenMP] Initial implementation of code generation for pragma 'distribute parallel for' on host https://reviews.llvm.org/D29508 This patch makes the following additions: It abstracts away loop bound generation code from procedures associated with pragma 'for' and loops in general, in such a way that the same procedures can be used for 'distribute parallel for' without the need for a full re-implementation. It implements code generation for 'distribute parallel for' and adds regression tests. It includes tests for clauses. It is important to notice that most of the clauses are implemented as part of existing procedures. For instance, firstprivate is already implemented for 'distribute' and 'for' as separate pragmas. As the implementation of 'distribute parallel for' is based on the same procedures, then we automatically obtain implementation for such clauses without the need to add new code. However, this requires regression tests that verify correctness of produced code. llvm-svn: 301340
-
Davide Italiano authored
llvm-svn: 301339
-
Craig Topper authored
This patch uses various APInt methods to reduce temporary APInt creation. This should be all of the unrelated cleanups that got buried in D32376(creating a KnownBits struct) as well as some pointed out by Simon during the review of that. Plus a few improvements to use counting instead of masking. I've left out any places where we do something like (KnownZero & KnownOne) != 0 as I plan to add a helper method to KnownBits to ask that question and didn't want to thrash that code an additional time. Differential Revision: https://reviews.llvm.org/D32495 llvm-svn: 301338
-
Craig Topper authored
llvm-svn: 301337
-
Rui Ueyama authored
No functionality change. llvm-svn: 301336
-
Alex Shlyapnikov authored
Summary: Generalize already defined LSan suppression for the leak on pthread_exit, some envs do not have the entire call stack symbolized, so we have to be less specific. Reviewers: eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32497 llvm-svn: 301335
-
Simon Pilgrim authored
llvm-svn: 301334
-
Adrian Prantl authored
The previous code was complex, incorrect, and couldn't print everything. llvm-svn: 301333
-
Rui Ueyama authored
llvm-svn: 301332
-
Sam Clegg authored
Subscribers: jfb, dschuff Differential Revision: https://reviews.llvm.org/D32459 llvm-svn: 301331
-
Sam Clegg authored
Subscribers: jfb, dschuff Differential Revision: https://reviews.llvm.org/D32462 llvm-svn: 301330
-
Craig Topper authored
The code Sanjay Patel moved over from InstCombine doesn't work properly if the 'and' has both inputs as nots because we used a commuted op matcher on the 'and' first. But this will bind to the first 'not' on 'and' when there could be two 'not's. InstCombine could rely on DeMorgan to ensure the 'and' wouldn't have two 'not's eventually, but InstSimplify can't rely on that. This patch matches the xor first then checks for the ands and allows a not of either operand of the xor. Differential Revision: https://reviews.llvm.org/D32458 llvm-svn: 301329
-
Alex Lorenz authored
Fixes PR32539. Patch by Emilio Cobos Álvarez! Differential Revision: https://reviews.llvm.org/D32348 llvm-svn: 301328
-
Davide Italiano authored
Differential Revision: https://reviews.llvm.org/D32465 llvm-svn: 301327
-
Craig Topper authored
llvm-svn: 301326
-
Craig Topper authored
llvm-svn: 301325
-
Craig Topper authored
This is a pre-commit for a patch I'm working on to turn KnownZero/One into a struct. Once I do that the type here will be less obvious. llvm-svn: 301324
-
Craig Topper authored
This is a pre-commit for a patch that I'm working on to merge KnownZero/KnownOne into a KnownBits struct which would have had to touch this line. llvm-svn: 301323
-
Simon Pilgrim authored
llvm-svn: 301322
-