| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 293514
|
|
|
|
|
|
|
|
| |
fcmp (fneg x), c, pred -> fcmp x, -c, (swap pred)
InstCombine already does this.
llvm-svn: 293512
|
|
|
|
| |
llvm-svn: 293511
|
|
|
|
| |
llvm-svn: 293510
|
|
|
|
|
|
|
|
| |
This reverts commit r293503.
Revert while I investigate some of the buildbot failures.
llvm-svn: 293509
|
|
|
|
| |
llvm-svn: 293508
|
|
|
|
|
|
| |
with splat constants
llvm-svn: 293507
|
|
|
|
|
|
|
|
|
| |
To simplify/clarify memory ownership, make leaks (as one was found/fixed
recently) harder to write, etc.
(also, while I was there - removed a duplicate lookup in a container)
llvm-svn: 293506
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Change from `compare_exchange_weak()` to `compare_exchange_strong()` where appropriate, because on ARM ( http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3190 , http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/3191 ) and AArch64 ( http://lab.llvm.org:8011/builders/clang-cmake-aarch64-42vma/builds/3900 ) it fails even in single-threaded scenarios.
Reviewers: dberris, rengolin
Reviewed By: rengolin
Subscribers: aemerson, llvm-commits, iid_iunknown
Differential Revision: https://reviews.llvm.org/D29286
llvm-svn: 293505
|
|
|
|
| |
llvm-svn: 293504
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: We can select constant/global G_LOAD, global G_STORE, and G_GEP.
Reviewers: qcolombet, MatzeB, t.p.northover, ab, arsenm
Subscribers: mehdi_amini, vkalintiris, kzhuravl, wdng, nhaehnle, mgorny, yaxunl, tony-tye, modocache, llvm-commits, dberris
Differential Revision: https://reviews.llvm.org/D26730
llvm-svn: 293503
|
|
|
|
| |
llvm-svn: 293502
|
|
|
|
|
|
|
|
|
| |
This reverts commit r293196
Besides making things look nicer, ATM, we'd like to preserve analysis
more than we'd like to destroy the CFG. We'll probably revisit in the future
llvm-svn: 293501
|
|
|
|
|
|
| |
target shuffles
llvm-svn: 293500
|
|
|
|
|
|
|
| |
This fixes emitting conversions of constants on targets
without legal f16 that need to use these for legalization.
llvm-svn: 293499
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original shift is bigger, so this may qualify as 'obvious',
but here's an attempt at an Alive-based proof:
Name: exact
Pre: (C1 u< C2)
%a = shl i8 %x, C1
%b = lshr exact i8 %a, C2
=>
%c = lshr exact i8 %x, C2 - C1
%b = and i8 %c, ((1 << width(C1)) - 1) u>> C2
Optimization is correct!
llvm-svn: 293498
|
|
|
|
| |
llvm-svn: 293496
|
|
|
|
| |
llvm-svn: 293494
|
|
|
|
| |
llvm-svn: 293493
|
|
|
|
|
|
| |
This significantly reduces the noise level of these messages.
llvm-svn: 293492
|
|
|
|
| |
llvm-svn: 293491
|
|
|
|
|
|
|
|
| |
TotalAltCost => TotalSecondaryCost
Differential Revision: https://reviews.llvm.org/D29231
llvm-svn: 293490
|
|
|
|
| |
llvm-svn: 293489
|
|
|
|
|
|
|
| |
Most implementations get ptrdiff_t transitively, some don't. Explicitly
include cstddef.
llvm-svn: 293488
|
|
|
|
| |
llvm-svn: 293487
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Original message:
Fix the values of two xcore ELF flags.
The values in llvm grew from a pre-MC day when they would not show up
in .o files and are outside of the SHF_MASKPROC.
Fortunately the MC output is not currently used as xcore has its own
assemble and that assembler uses valid values. This updates llvm to
use the same values as the xmos assembler.
llvm-svn: 293486
|
|
|
|
| |
llvm-svn: 293485
|
|
|
|
|
|
|
|
|
|
| |
Different architectures can have different meaning for flags in the
SHF_MASKPROC mask, so we should always check what the architecture use
before checking the flag.
NFC for now, but will allow fixing the value of an xmos flag.
llvm-svn: 293484
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
AMDGPU has two register classes with the same set of registers, and this
was causing this tablegen backend would get stuck in infinite recursion.
Reviewers: dsanders
Reviewed By: dsanders
Subscribers: tpr, wdng, llvm-commits
Differential Revision: https://reviews.llvm.org/D29049
llvm-svn: 293483
|
|
|
|
| |
llvm-svn: 293482
|
|
|
|
|
|
|
|
| |
This reverts commit r293480.
The patch is correct, but found bugs in other areas that need to be fixed.
llvm-svn: 293481
|
|
|
|
|
|
|
|
|
|
|
| |
The values in llvm grew from a pre-MC day when they would not show up
in .o files and are outside of the SHF_MASKPROC.
Fortunately the MC output is not currently used as xcore has its own
assemble and that assembler uses valid values. This updates llvm to
use the same values as the xmos assembler.
llvm-svn: 293480
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
accordingly.
ld.bfd showed error on previous inputs, result values were larger than 8/16 bits,
though ld.gold accepted them.
ABI says "The R_386_16, and R_386_8 relocations truncate the computed
value to 16-bits and 8-bits respectively".
Patch changes inputs to have result calculated values of relocations to fit 8 and 16 bits.
That can be used for implementation of more strict checks, like bfd do.
Differential revision: https://reviews.llvm.org/D29270
llvm-svn: 293479
|
|
|
|
| |
llvm-svn: 293478
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: already covered by complex patterns
Reviewers: arsenm, nhaehnle, tstellarAMD
Subscribers: kzhuravl, wdng, yaxunl, tony-tye
Differential Revision: https://reviews.llvm.org/D28995
llvm-svn: 293477
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: arsenm, tstellarAMD
Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, tony-tye
Differential Revision: https://reviews.llvm.org/D28992
llvm-svn: 293476
|
|
|
|
|
|
|
|
|
|
|
| |
(fixes PR27271)"
After r293343 clang fails to compile itself with -fsanitize=undefined (
http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_build/).
rdar://30259929
llvm-svn: 293475
|
|
|
|
|
|
|
| |
This reverts commit r293471, reapplying r293361 and r293363 with a fix
for an out-of-bounds read.
llvm-svn: 293474
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Revert r293455, which breaks v8 with a spurious error. Testcase added.
Reviewers: klimek
Subscribers: cfe-commits, rsmith
Differential Revision: https://reviews.llvm.org/D29271
llvm-svn: 293473
|
|
|
|
|
|
| |
The nested proxy task does not have dependencies.
llvm-svn: 293472
|
|
|
|
| |
llvm-svn: 293471
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D28079
llvm-svn: 293470
|
|
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D28354
llvm-svn: 293469
|
|
|
|
|
|
|
|
|
|
|
| |
glibc < 2.18 is C99 compliant and only provides the format macros in C++ if
__STDC_FORMAT_MACROS is defined. This change fixes the debug build for
GCC 4.8, GCC 6.2 and Clang 3.9.1 that were previously broken on my machine.
It shows no regression for libc++ >= 4.0.0 which has a fix since September:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160926/171659.html
llvm-svn: 293468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Change B type from double to pointer to double.
Reviewers: delena, sanjoy
Reviewed By: sanjoy
Subscribers: sanjoy, llvm-commits
Differential Revision: https://reviews.llvm.org/D29009
llvm-svn: 293467
|
|
|
|
| |
llvm-svn: 293466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This had significant negative consequences and I don't have a good
solution for it yet.
Before:
var string =
[
'aaaaaa',
'bbbbbb',
]
.join('+');
After:
var string = [
'aaaaaa',
'bbbbbb',
].join('+');
llvm-svn: 293465
|
|
|
|
|
|
|
|
| |
broadcast. We can use COPY_TO_REGCLASS like AVX does.
This causes stack spill slots be oversized sometimes, but the same should already be happening with AVX.
llvm-svn: 293464
|
|
|
|
| |
llvm-svn: 293463
|
|
|
|
|
|
|
|
|
|
|
| |
available_externally vtables"
Accounts for a case that caused an assertion failure by attempting to
query for the vtable linkage of a non-dynamic type.t
This reverts commit r292801.
llvm-svn: 293462
|