Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/swiftwasm/swift-llvm
This repository is no longer in use, please refer to the LLVM monorepo https://github.com/swiftwasm/llvm-project
https://github.com/swiftwasm/swift-llvm
Summary:
This adds `preds` comment lines to BB names for readability, while also
fixes some of e...
Reviewers: tlively, sbc100
Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits
Tags:...
de5a98a8df12c953d0bdb48a160f9671d3fdeea3 authored almost 6 years ago by Heejin Ahn <[email protected]>
Summary:
After r355981, intrinsic arguments that are immediate values should be
marked as `ImmAr...
Summary:
Adds patterns to lower all the remaining setcc modes: lt, gt,
le, and ge. Fixes PR40912...
This reverts commit 106f0cdefb02afc3064268dc7a71419b409ed2f3.
This change impacts the AMDGPU sm...
867969e80f312e57b30eb2fe55cd4d73dffae796 authored almost 6 years ago by Nikita Popov <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356422 91177308-0d34-0410-b5e6-96231b3b...
91c7c70b360072082025aa4b029a83c5ba222802 authored almost 6 years ago by Kostya Serebryany <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356420 91177308-0d34-0410-b5e6-96231b3b...
2911d4592915e7ba7d2bed36e87fbb758c2c7664 authored almost 6 years ago by Craig Topper <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356419 91177308-0d34-0410-b5e6-96231b3b...
e85ffd1263fef603e603bfc73ae9a8146ee09457 authored almost 6 years ago by Craig Topper <[email protected]>
Add support for min/max flavor selects in computeConstantRange(),
which allows us to fold compar...
Baseline tests for D59471 (InstCombine of `add nuw` and `uaddo` with
constants).
Patch by Dan R...
84930c470b4a746807c28d25b414ba8d485f46a8 authored almost 6 years ago by Nikita Popov <[email protected]>We need to allow [128,255] in addition to [-128, 127] to match gas.
git-svn-id: https://llvm.or...
ca0ea067ee021147d76f73a44d849c4b67cd7c34 authored almost 6 years ago by Craig Topper <[email protected]>Forgot to add a change to relax some asserts in r356396.
git-svn-id: https://llvm.org/svn/llvm-...
b392b2cef2e47d65ea280f6cb4ac475351a90b93 authored almost 6 years ago by Amara Emerson <[email protected]>
The default implementation does we want and is going to more compatible
with dynamic linking (-f...
This is preparation for D59506. The InstructionSimplify abs handling
is moved into computeConsta...
These are baseline tests for D59506.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3...
89d0f2ff489dda7ad44fd9757dc1a9d8c7646593 authored almost 6 years ago by Nikita Popov <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356407 91177308-0d34-0410-b5e6-96231b3b...
f2c750b0e65ded24da48fd09960c0b42c8f14eee authored almost 6 years ago by Craig Topper <[email protected]>For the i8, i16, and i32 instructions we were using a relocImm. Presumably we should for i64 as ...
ecb803edc2ceffd2e9c6d8ef4d021fc21b2149e9 authored almost 6 years ago by Craig Topper <[email protected]>Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya...
671c6db195292173159eb99c10f6ae12075b12cd authored almost 6 years ago by Michael Liao <[email protected]>
This change makes linking into .build-id atomic and safe to use.
Some users under particular wor...
- Do not use unnamed values in saddo tests
- Add tests for canonicalization of a constant arg0
...
6f1ca03bfff53667d358bc1816b518a176a9e193 authored almost 6 years ago by Nikita Popov <[email protected]>
The original change back in rL29307 explained this but it was
lost somewhere along the way.
Dif...
f5b72f62c0f012d9ba6a3ad4fcbcbed2ab5dd047 authored almost 6 years ago by Sam Clegg <[email protected]>Differential Revision: https://reviews.llvm.org/D59505
git-svn-id: https://llvm.org/svn/llvm-pr...
d15747e2fa015efca246f8be78227c514ceb4380 authored almost 6 years ago by Alexandre Ganea <[email protected]>
Allow the clamp modifier on vop3 int arithmetic instructions in assembly
and disassembly.
This ...
a90929573cca4829774944334f084d35008ab756 authored almost 6 years ago by Tim Renouf <[email protected]>
This commit allows v_cndmask_b32_e64 with abs, neg source
modifiers on src0, src1 to be assemble...
After review comments, it was preferred to not teach MachineIRBuilder about
non-generic instruct...
Before, empty debug streams were written as 8 bytes (4 bytes signature + 4 bytes for the GlobalR...
8ce49075b47220b4b48458cf638b769f03e40e82 authored almost 6 years ago by Alexandre Ganea <[email protected]>
This fixes a couple of unflushed raw_string_ostream bugs in recent
commits that only show up on ...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356393 91177308-0d34-0410-b5e6-96231b3b...
b82c205784896a4609fa215969ab724b9a31852f authored almost 6 years ago by Craig Topper <[email protected]>
This reinstates r347934, along with a tweak to address a problem with
PHI node ordering that tha...
It uses the generic AArch64_IMM::expandMOVImm to get the correct
number of instruction used in i...
This patch follows some ideas from r352866 to optimize the floating
point materialization even f...
This allows better code size for aarch64 floating point materialization
in a future patch.
Revi...
0ce3660e408cc281b24c24015eefb509c724ae19 authored almost 6 years ago by Adhemerval Zanella <[email protected]>
It splits the login of actual instruction emission away from the logic
that figures out the appr...
Similar to previous change done for VPCOM and VPCMP
Differential Revision: https://reviews.llvm...
2b24b93a59fe536ab7909189440da44ecbf2b719 authored almost 6 years ago by Craig Topper <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356383 91177308-0d34-0410-b5e6-96231b3b...
edbd5597b3a97310a7a3cd2323e1fe6170096332 authored almost 6 years ago by Sanjay Patel <[email protected]>
Delete temporarily constructed node uses for analysis after it's use,
holding onto original inpu...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356381 91177308-0d34-0410-b5e6-96231b3b...
8aaaf73830cba78b5282341cc459b74696da39ec authored almost 6 years ago by Michael Liao <[email protected]>
Add an experimental buffer fat pointer address space that is currently
unhandled in the backend....
Follow-up to:
rL356338
rL356369
We can calculate an arbitrary vector constant minus the bitwidt...
bf859bb52f5d3f48957d3ff0c38f2c06601be20e authored almost 6 years ago by Sanjay Patel <[email protected]>This fixes the https://bugs.llvm.org/show_bug.cgi?id=40980.
Previously if string optimization o...
ab0a1d7699a58f9ebd13cdd944673bca6fd8985d authored almost 6 years ago by George Rimar <[email protected]>
Follow-up to:
rL356338
Rotates are a special case of funnel shift where the 2 input operands
ar...
Pre-commit for D59363 (Add icmp UNDEF handling to SelectionDAG::FoldSetCC)
Approved by @uweigan...
7389752eef400b08a8bf996f61275658736b86d6 authored almost 6 years ago by Simon Pilgrim <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356367 91177308-0d34-0410-b5e6-96231b3b...
df21266052667915f55e1ab306018a1d40250441 authored almost 6 years ago by Sanjay Patel <[email protected]>
Results in much nicer -help output:
```
$ ./bin/llvm-exegesis -help
USAGE: llvm-exegesis [option...
Summary:
Look past bitcasts when looking for parameter debug values that are
described by frame-...
be87c2cf90fb6bf0cdaf76e311324bda2766a4d1 authored almost 6 years ago by Automerger <Automerger@Swift>
Fixes https://bugs.llvm.org/show_bug.cgi?id=35094
The Dead register definition pass should leav...
4351957ec559bc92eb87c42e6805d45caf64a433 authored almost 6 years ago by Christof Douma <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356359 91177308-0d34-0410-b5e6-96231b3b...
349209d261400c042df4bd8ffaee740ad8e69164 authored almost 6 years ago by Craig Topper <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356358 91177308-0d34-0410-b5e6-96231b3...
95cfb867aba2058feee06ac18cb6b84313504904 authored almost 6 years ago by Alex Bradbury <[email protected]>These were added in r355423.
We only use the autogenerated table to assist with the maintenance...
7e3544936697ee8d1929a8263ea7c8c283b36104 authored almost 6 years ago by Craig Topper <[email protected]>
These are used to help convert OR->LEA when needed to avoid avoid a copy. They
aren't need after...
All the other instructions are printed with a preceeding tab.
git-svn-id: https://llvm.org/svn/...
6c3adeb3a9a09706495b99e7946de743f8004e64 authored almost 6 years ago by Craig Topper <[email protected]>
The LangRef claimed this was required to be a constant, but this
appears to be wrong.
Fixes bug...
cd3ec4d74b8f4561cb9af8cc774ba7b71072d295 authored almost 6 years ago by Matt Arsenault <[email protected]>The only thing the print methods currently need to know is the string to print for the memory si...
a1745146ced7be0d82c58e82e44ac5398b74f4eb authored almost 6 years ago by Craig Topper <[email protected]>AMDGPU would like to use these MVTs.
Differential Revision: https://reviews.llvm.org/D58901
Ch...
b68313482ba3bd4f688358292d0a79ebc9ac3b42 authored almost 6 years ago by Tim Renouf <[email protected]>
AMDGPU would like to have MVTs for v3i32, v3f32, v5i32, v5f32. This
commit does not add them, bu...
Fix up rL356335 by checking that CPSR is not read between
the compare and the branch.
git-svn-...
b44cf4fdfc9c2fbe46d4581bdff0389b65a4eb0e authored almost 6 years ago by David Green <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356348 91177308-0d34-0410-b5e6-96231b3b...
9629afce59139f4e1f1bb4191ff6f119c03d83c4 authored almost 6 years ago by Matt Arsenault <[email protected]>
There are a few different issues, mostly stemming from using
generation based checks for anythin...
Following the suggestion in D59475.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35...
5a0b364cb70a371d5a3d64f5bb9052e06f376ee1 authored almost 6 years ago by Nikita Popov <[email protected]>
This is the same change as rL356290, but for signed add. It replaces
the existing ripple logic w...
Similar to the previous patch for VPCOM.
Differential Revision: https://reviews.llvm.org/D59398...
799ecd6eba4395667f5fa0bbbd522d535769bf8f authored almost 6 years ago by Craig Topper <[email protected]>Previously we had a regular form of the instruction used when the immediate was 0-7. And _alt fo...
826addddb1afe30da2225b359b7537580b0dcb4e authored almost 6 years ago by Craig Topper <[email protected]>
AMDGPU would like to have MVTs for v3i32, v3f32, v5i32, v5f32. This
commit does not add them, bu...
I am about to introduce some non-power-of-2 width vector MVTs. This
commit fixes a power-of-2 as...
Prep work for D51589
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356340 91177308-0...
c1e674eb387e6c1b9ca4c29209ccf651335edd25 authored almost 6 years ago by Simon Pilgrim <[email protected]>
Following the suggestion in D59450, I'm moving the code for constructing
a ConstantRange from Kn...
This was noted as a backend problem:
https://bugs.llvm.org/show_bug.cgi?id=41057
...and subseque...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356337 91177308-0d34-0410-b5e6-96231b3b...
3ce62d30c2710a0896b356810c7bc3d5591b3011 authored almost 6 years ago by Sanjay Patel <[email protected]>
The constant island pass currently only looks at the instruction immediately
before a branch for...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356335 91177308-0d34-0410-b5e6-96231b3...
99f94bb32f3e8353a2a5e2606d11c4d953bd65ce authored almost 6 years ago by David Green <[email protected]>
Fold (x & ~y) | y and it's four commuted variants to x | y. This pattern
can in particular appea...
This is a subset of what was proposed in:
D59006
...and may overlap with test changes from:
D591...
Contains common logic to match a string to a register name.
git-svn-id: https://llvm.org/svn/l...
6c8de7f2e28ae3ce756834b2b10162bf62c978d8 authored almost 6 years ago by Alex Bradbury <[email protected]>
RISCVAsmParser::ParseRegister is called from AsmParser::parseRegisterOrNumber,
which in turn is ...
d64ea866ed19998b5edab2fcd64992f1db378ad1 authored almost 6 years ago by Automerger <Automerger@Swift>
rL356292 reduces the size of scalar_to_vector if we know the upper bits are undef - which means ...
1dcbea8cd57df1d632b3ec73fc99880bdf5c2d05 authored almost 6 years ago by Simon Pilgrim <[email protected]>Two new kinds, BTF_KIND_VAR and BTF_KIND_DATASEC, are added.
BTF_KIND_VAR has the following spe...
ac4082b77e075861f50471a891d937658137975d authored almost 6 years ago by Yonghong Song <[email protected]>Replaces existing i1-only fold.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356325...
f6ef17c4e985ec9c9b43f92ef90cabb65a608421 authored almost 6 years ago by Simon Pilgrim <[email protected]>Improved constant folding for PEXTRB/PEXTRW will be added in a future commit
git-svn-id: https:...
1b3a035e94bd127fd002c092557de63f0c2848dc authored almost 6 years ago by Simon Pilgrim <[email protected]>
Summary:
In the new wasm EH proposal, `rethrow` takes an `except_ref` argument.
This change was ...
Summary:
Currently the order of these methods does not matter, but the following
CL needs to hav...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356314 91177308-0d34-0410-b5e6-96231b3b...
c9ba0947cd59acd5467e41613eb7d1467dcf47d0 authored almost 6 years ago by Peter Collingbourne <[email protected]>
Summary:
Rewrite WebAssemblyFixIrreducibleControlFlow to a simpler and cleaner
design, which dir...
This follows the C++17 std::vector change and can simplify immediate
back() calls.
git-svn-id: ...
d6001a9722ffe7cc70c20dfed27c6515bead372f authored almost 6 years ago by Fangrui Song <[email protected]>git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356309 91177308-0d34-0410-b5e6-96231b3b...
7feefc2fe73c27062407322a14241d1a4497cdb1 authored almost 6 years ago by Amara Emerson <[email protected]>6146536c0275cd481dd0cfcbafaf9016adfe1f3f authored almost 6 years ago by Automerger <Automerger@Swift>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356306 91177308-0d34-0410-b5e6-96231b3b...
5bb6ba601e31e44b383f0cf4ce1b1ad3e5af1c85 authored almost 6 years ago by Peter Collingbourne <[email protected]>
TimePassesHandler object (implementation of time-passes for new pass manager)
gains ability to r...
This relaxes some asserts about sizes, and adds an optional subreg parameter
to buildCopy().
Al...
18f1325022b65ded62fe8e8422d6f8deaef81e36 authored almost 6 years ago by Amara Emerson <[email protected]>
tMOVr and tPUSH/tPOP/tPOP_RET have register constraints which can't be
expressed in TableGen, so...
Summary:
As noted by @andreadb in https://reviews.llvm.org/D59035#inline-525780
If we have `sex...
1f727efc28a5579cafc9645ca27e9d7b80e63cb9 authored almost 6 years ago by Roman Lebedev <[email protected]>
Summary:
@mclow.lists brought up this issue up in IRC, it came up during
implementation of libc+...
Switch BIC immediate creation for vector ANDs from custom lowering
to a DAG combine, which gives...
Summary:
At the exit of the loop, the compiler uses a register to remember and accumulate
the nu...
Summary:
This wasn't actually printing out a CMake warning, it was prepending
"WARN" to the mess...
The asm parser generates the immediate without the SAE bit. So for consistency we should generat...
bf6b4e88ed52391be5682cd4c24423686c4776de authored almost 6 years ago by Craig Topper <[email protected]>
A change of two parts:
1) A generic enhancement for all callers of SDVE to exploit the fact that...
Reduce the size of an any-extended i64 scalar_to_vector source to i32 - the any_extend nodes are...
e767531b14930999fa85c0d524faaf5969d56a9c authored almost 6 years ago by Simon Pilgrim <[email protected]>
Use the methods introduced in rL356276 to implement the
computeOverflowForUnsigned(Add|Sub) func...