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

[WebAssembly] Improve readability of irreducibility tests

Summary:
This adds `preds` comment lines to BB names for readability, while also
fixes some of e...

e6c22c2a8551c6e14181480a57eb54edcac44384 authored almost 6 years ago by Heejin Ahn <[email protected]>
[WebAssembly] Rename methods according to instruction name changes (NFC)

Reviewers: tlively, sbc100

Subscribers: dschuff, jgravelle-google, sunfish, llvm-commits

Tags:...

de5a98a8df12c953d0bdb48a160f9671d3fdeea3 authored almost 6 years ago by Heejin Ahn <[email protected]>
[WebAssembly] Add immarg attribute to intrinsics

Summary:
After r355981, intrinsic arguments that are immediate values should be
marked as `ImmAr...

8dd4b7739218947822afa00dc63d4c3effb68e8f authored almost 6 years ago by Heejin Ahn <[email protected]>
[WebAssembly] Lower SIMD nnan setcc nodes

Summary:
Adds patterns to lower all the remaining setcc modes: lt, gt,
le, and ge. Fixes PR40912...

68b1256f371dac6a34b0b2155fde70abf83691a3 authored almost 6 years ago by Thomas Lively <[email protected]>
Revert "[ValueTracking][InstSimplify] Support min/max selects in computeConstantRange()"

This reverts commit 106f0cdefb02afc3064268dc7a71419b409ed2f3.

This change impacts the AMDGPU sm...

867969e80f312e57b30eb2fe55cd4d73dffae796 authored almost 6 years ago by Nikita Popov <[email protected]>
[libFuzzer] document -len_control

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]>
[X86] Add coverage for 16-bit and 64-bit versions of bsf/bsr/bt/btc/btr/bts in the assembly tests that are supposed to provide full coverage. Add coverage for cwtl/cltq/cwtd/cqto as well.

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]>
[X86] Disable CQTO and CLTQ instructions in the assembly parser outside 64-bit mode.

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]>
[ValueTracking][InstSimplify] Support min/max selects in computeConstantRange()

Add support for min/max flavor selects in computeConstantRange(),
which allows us to fold compar...

348957eb04be22fbcef800639676d4ee3b0afcda authored almost 6 years ago by Nikita Popov <[email protected]>
[InstCombine] Add tests for add nuw + uaddo; NFC

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]>
[X86] Allow any 8-bit immediate to be used with BT/BTC/BTR/BTS not just sign extended 8-bit immediates.

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]>
[GlobalISel] Include missing change from r356396

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]>
[WebAssembly] Don't override default implementation of isOffsetFoldingLegal. NFC.

The default implementation does we want and is going to more compatible
with dynamic linking (-f...

ca5bbb310e662b516ee943c29df782e11404f576 authored almost 6 years ago by Sam Clegg <[email protected]>
[ValueTracking][InstSimplify] Move abs handling into computeConstantRange(); NFC

This is preparation for D59506. The InstructionSimplify abs handling
is moved into computeConsta...

44d05035050938c0f9b167d4d3a488e2cfb75c62 authored almost 6 years ago by Nikita Popov <[email protected]>
[InstSimplify] Add additional icmp of min/max tests; NFC

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]>
[X86] Use relocImm in the ROL8ri/ROL16ri/ROL32ri/ROL64ri patterns to be consistent with the ROR patterns.

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]>
[X86] Replace uses of i64immSExt32_su with i64relocImmSExt32_su.

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]>
[AMDGPU] Enable code selection using `s_mul_hi_u32`/`s_mul_hi_i32`.

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya...

671c6db195292173159eb99c10f6ae12075b12cd authored almost 6 years ago by Michael Liao <[email protected]>
[llvm-objcopy] Make .build-id linking atomic

This change makes linking into .build-id atomic and safe to use.
Some users under particular wor...

bb22cd1f19d11f85d7136011eaac0f1959e5a59e authored almost 6 years ago by Jake Ehrlich <[email protected]>
[InstCombine] Improve with.overflow intrinsic tests; NFC

- 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]>
Restore comment regarding why Reloc::PIC_ can't be PIC

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]>
Fix flat-error-unsupported-gpu-hsa test

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]>
[AMDGPU] Asm/disasm clamp modifier on vop3 int arithmetic

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]>
[AMDGPU] Asm/disasm v_cndmask_b32_e64 with abs/neg source modifiers

This commit allows v_cndmask_b32_e64 with abs, neg source
modifiers on src0, src1 to be assemble...

0b9f636469b75cfaa87a9251c4ecfea18717dedc authored almost 6 years ago by Tim Renouf <[email protected]>
Revert r356304: remove subreg parameter from MachineIRBuilder::buildCopy()

After review comments, it was preferred to not teach MachineIRBuilder about
non-generic instruct...

0990d05f33ec144c3787da9a3e6dd4d410ac4f79 authored almost 6 years ago by Amara Emerson <[email protected]>
[DebugInfo][PDB] Don't write empty debug streams

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]>
[MsgPack][AMDGPU] Fix unflushed raw_string_ostream bugs on windows expensive checks bot

This fixes a couple of unflushed raw_string_ostream bugs in recent
commits that only show up on ...

e38a937ce0e856e9a358166d05d08efb4d381614 authored almost 6 years ago by Tim Renouf <[email protected]>
[X86] Rename imm8_su/imm16_su/imm32_su to relocImm8_su/relocImm16_su/relocImm32_su/ to accurately reflect what they are.

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]>
[SCEV] Guard movement of insertion point for loop-invariants

This reinstates r347934, along with a tweak to address a problem with
PHI node ordering that tha...

b017ce4be93bc6987b85344b5c73fe37bb2f1b2a authored almost 6 years ago by Warren Ristow <[email protected]>
[AArch64] Small fix for getIntImmCost

It uses the generic AArch64_IMM::expandMOVImm to get the correct
number of instruction used in i...

cebbea718141099c65c327532d4ffbf4e8745789 authored almost 6 years ago by Adhemerval Zanella <[email protected]>
[AArch64] Optimize floating point materialization

This patch follows some ideas from r352866 to optimize the floating
point materialization even f...

174d97b3b9e80490f8b965ff23c677f70cd7c789 authored almost 6 years ago by Adhemerval Zanella <[email protected]>
[TargetLowering] Add code size information on isFPImmLegal. NFC

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]>
[AArch64] Refactor floating point materialization. NFC

It splits the login of actual instruction emission away from the logic
that figures out the appr...

5c68269f7ec17ac8bdd049d6c1d9673f2ce8aad2 authored almost 6 years ago by Adhemerval Zanella <[email protected]>
[X86] Remove the _alt forms of (V)CMP instructions. Use a combination of custom printing and custom parsing to achieve the same result and more

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]>
[InstCombine] add/adjust test for NaN checks; NFC

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]>
[DAG] Cleanup unused node in SimplifySelectCC.

Delete temporarily constructed node uses for analysis after it's use,
holding onto original inpu...

d918576dc5ad47769f452f4863284b37f27455b8 authored almost 6 years ago by Nirav Dave <[email protected]>
[MVT] Fix typos in comment. NFC.

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]>
[AMDGPU] Add an experimental buffer fat pointer address space.

Add an experimental buffer fat pointer address space that is currently
unhandled in the backend....

89fc4394cbad802890bbf6aeecb077dec7dee71b authored almost 6 years ago by Neil Henning <[email protected]>
[InstCombine] allow general vector constants for funnel shift to shift transforms

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]>
[llvm-objcopy] - Calculate the string table section sizes correctly.

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]>
[InstCombine] extend rotate-left-by-constant canonicalization to funnel shift

Follow-up to:
rL356338

Rotates are a special case of funnel shift where the 2 input operands
ar...

1772f0a5a32b1de62c28020c904c8f3a1fd8f172 authored almost 6 years ago by Sanjay Patel <[email protected]>
[SystemZ] Remove icmp undef from reduced tests

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]>
[InstCombine] add funnel shift tests with arbitrary constants; NFC

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]>
[llvm-exegesis] Separate tool options into three categories.

Results in much nicer -help output:
```
$ ./bin/llvm-exegesis -help
USAGE: llvm-exegesis [option...

681f332fc6af831e009ffef8b02e65066b56ff83 authored almost 6 years ago by Roman Lebedev <[email protected]>
[DebugInfo] Ignore bitcasts when lowering stack arg dbg.values

Summary:
Look past bitcasts when looking for parameter debug values that are
described by frame-...

95c6236239db8f68a4ac166e9129f16a26bac27d authored almost 6 years ago by David Stenberg <[email protected]>
Propagating prior merge from 'llvm.org/master'.

be87c2cf90fb6bf0cdaf76e311324bda2766a4d1 authored almost 6 years ago by Automerger <Automerger@Swift>
[AArch64] Fix bug 35094 atomicrmw on Armv8.1-A+lse

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]>
[X86] Hopefully fix a tautological compare warning in printVecCompareInstr.

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]>
[RISCV] Add ImmArg to intrinsics

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]>
[X86] Add ADD8ri_DB and ADD8rr_DB to the autogenerated load folding table.

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]>
[X86] Make ADD*_DB post-RA pseudos and expand them in expandPostRAPseudo.

These are used to help convert OR->LEA when needed to avoid avoid a copy. They
aren't need after...

0e706fe381c85c0d604340ed7c8f5b86391d4585 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Add tab character to the custom printing of VPCMP and VPCOM instructions.

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]>
Remove immarg from llvm.expect

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]>
[X86] Merge printf32mem/printi32mem into a single printdwordmem. Do the same for all other printing functions.

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]>
[CodeGen] Defined MVTs v3i32, v3f32, v5i32, v5f32

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]>
[CodeGen] Prepare for introduction of v3 and v5 MVTs

AMDGPU would like to have MVTs for v3i32, v3f32, v5i32, v5f32. This
commit does not add them, bu...

9a80c7c838ee1de12ecbaad7304fac01e6fe39c9 authored almost 6 years ago by Tim Renouf <[email protected]>
[ARM] Check that CPSR does not have other uses

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]>
RegAllocFast: Add hint to debug printing

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]>
AMDGPU: Partially fix default device for HSA

There are a few different issues, mostly stemming from using
generation based checks for anythin...

2066fb5fc9194aee3af52ebbc92188fae58c265f authored almost 6 years ago by Matt Arsenault <[email protected]>
[ConstantRange] Add assertion for KnownBits validity; NFC

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]>
[ValueTracking] Use ConstantRange overflow check for signed add; NFC

This is the same change as rL356290, but for signed add. It replaces
the existing ripple logic w...

c90650685f3461bd2a25806e793111d75457bcb9 authored almost 6 years ago by Nikita Popov <[email protected]>
[X86] Remove the _alt forms of AVX512 VPCMP instructions. Use a combination of custom printing and custom parsing to achieve the same result and more

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]>
[X86] Remove the _alt forms of XOP VPCOM instructions. Use a combination of custom printing and custom parsing to achieve the same result and more

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] Prepare for introduction of v3 and v5 MVTs

AMDGPU would like to have MVTs for v3i32, v3f32, v5i32, v5f32. This
commit does not add them, bu...

c84795ff0dee10e8beb08fee599140489a12e63b authored almost 6 years ago by Tim Renouf <[email protected]>
[ARM] Fixed an assumption of power-of-2 vector MVT

I am about to introduce some non-power-of-2 width vector MVTs. This
commit fixes a power-of-2 as...

a4f465e4c73c4d866a444b19eb51456d1d9f10d1 authored almost 6 years ago by Tim Renouf <[email protected]>
[AMDGPU] Regenerate some f16/i16 tests.

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]>
[ConstantRange] Add fromKnownBits() method

Following the suggestion in D59450, I'm moving the code for constructing
a ConstantRange from Kn...

f6babf87c5814ed8a51151b76c3f99f1ba69f9a7 authored almost 6 years ago by Nikita Popov <[email protected]>
[InstCombine] canonicalize rotate right by constant to rotate left

This was noted as a backend problem:
https://bugs.llvm.org/show_bug.cgi?id=41057
...and subseque...

051e78c201382cf76eb86ea914dfc1d8f31d749b authored almost 6 years ago by Sanjay Patel <[email protected]>
[InstCombine] add tests for rotate by constant using funnel intrinsics; NFC

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]>
[ARM] Search backwards for CMP when combining into CBZ

The constant island pass currently only looks at the instruction immediately
before a branch for...

301f1518084c2361aab194b6403de5aa4bfb941b authored almost 6 years ago by David Green <[email protected]>
[ARM] Add some CBZ constant island tests. NFC

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]>
[DAGCombine] Fold (x & ~y) | y patterns

Fold (x & ~y) | y and it's four commuted variants to x | y. This pattern
can in particular appea...

7cb598a0d7a702c3a23f4c14a8c1a5437951e8f6 authored almost 6 years ago by Nikita Popov <[email protected]>
[TargetLowering] improve the default expansion of uaddsat/usubsat

This is a subset of what was proposed in:
D59006
...and may overlap with test changes from:
D591...

939c6145a964ebf21a3f5542d3b8c7b91d163d20 authored almost 6 years ago by Sanjay Patel <[email protected]>
[RISCV][NFC] Factor out matchRegisterNameHelper in RISCVAsmParser.cpp

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]>
[RISCV] Fix RISCVAsmParser::ParseRegister and add tests

RISCVAsmParser::ParseRegister is called from AsmParser::parseRegisterOrNumber,
which in turn is ...

1b72e9850b845378b9332be24b95f0d75ff236af authored almost 6 years ago by Alex Bradbury <[email protected]>
Propagating prior merge from 'llvm.org/master'.

d64ea866ed19998b5edab2fcd64992f1db378ad1 authored almost 6 years ago by Automerger <Automerger@Swift>
[DAGCombine] combineShuffleOfScalars - handle non-zero SCALAR_TO_VECTOR indices (PR41097)

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]>
[BPF] Add BTF Var and DataSec Support

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]>
[X86][SSE] Constant fold PEXTRB/PEXTRW/EXTRACT_VECTOR_ELT nodes.

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]>
[X86] Add SimplifyDemandedBitsForTargetNode support for PEXTRB/PEXTRW

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]>
[WebAssembly] Make rethrow take an except_ref type argument

Summary:
In the new wasm EH proposal, `rethrow` takes an `except_ref` argument.
This change was ...

421f4e7b6ab3aa9f0d2f4872c4169de86a8fa167 authored almost 6 years ago by Heejin Ahn <[email protected]>
[WebAssembly] Method order change in LateEHPrepare (NFC)

Summary:
Currently the order of these methods does not matter, but the following
CL needs to hav...

c1447a19117481bd41b1ca27f7a1c511d000a532 authored almost 6 years ago by Heejin Ahn <[email protected]>
gn build: Merge r356305.

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]>
[WebAssembly] Irreducible control flow rewrite

Summary:
Rewrite WebAssemblyFixIrreducibleControlFlow to a simpler and cleaner
design, which dir...

ccae125ce42687506c2fefdfa31f31ccf686e4b8 authored almost 6 years ago by Heejin Ahn <[email protected]>
[ADT] Make SmallVector emplace_back return a reference

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]>
[GlobalISel] Make isel verification checks of vregs run under NDEBUG only.

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]>
Propagating prior merge from 'llvm.org/master'.

6146536c0275cd481dd0cfcbafaf9016adfe1f3f authored almost 6 years ago by Automerger <Automerger@Swift>
gn build: Add missing dependency to check-clang target.

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]>
[TimePasses] allow -time-passes reporting into a custom stream

TimePassesHandler object (implementation of time-passes for new pass manager)
gains ability to r...

7086bb6b0455bdf8f32f650fe653629ca66da0f1 authored almost 6 years ago by Fedor Sergeev <[email protected]>
[GlobalISel] Allow MachineIRBuilder to build subregister copies.

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]>
[ARM] Add MachineVerifier logic for some Thumb1 instructions.

tMOVr and tPUSH/tPOP/tPOP_RET have register constraints which can't be
expressed in TableGen, so...

70a59574dd16fb03ce2c549173c500c7e3b99a64 authored almost 6 years ago by Eli Friedman <[email protected]>
[X86] X86ISelLowering::combineSextInRegCmov(): also handle i8 CMOV's

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]>
[X86] Promote i8 CMOV's (PR40965)

Summary:
@mclow.lists brought up this issue up in IRC, it came up during
implementation of libc+...

3cf232123d124d4b3869a4e2526093fcf17e18f8 authored almost 6 years ago by Roman Lebedev <[email protected]>
[AArch64] Turn BIC immediate creation into a DAG combine

Switch BIC immediate creation for vector ANDs from custom lowering
to a DAG combine, which gives...

6185a3e03ca664754cc26cee1fe128c85d6fb04f authored almost 6 years ago by Nikita Popov <[email protected]>
AMDGPU: Fix a SIAnnotateControlFlow issue when there are multiple backedges.

Summary:
At the exit of the loop, the compiler uses a register to remember and accumulate
the nu...

4a413d30ec3e791a032c299cd84756435d56022f authored almost 6 years ago by Changpeng Fang <[email protected]>
[CMake] Correct CMake message mode

Summary:
This wasn't actually printing out a CMake warning, it was prepending
"WARN" to the mess...

67b6109ba6436c5074dd9762da8f7fa9264945f7 authored almost 6 years ago by Alex Langford <[email protected]>
[X86] Strip the SAE bit from the rounding mode passed to the _RND opcodes. Use TargetConstant to save a conversion in the isel table.

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]>
[SimplifyDemandedVec] Strengthen handling all undef lanes (particularly GEPs)

A change of two parts:
1) A generic enhancement for all callers of SDVE to exploit the fact that...

1c838a422561b91211afdc0fc3ca7976201e157b authored almost 6 years ago by Philip Reames <[email protected]>
[X86][SSE] Fold scalar_to_vector(i64 anyext(x)) -> bitcast(scalar_to_vector(i32 anyext(x)))

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]>
[ValueTracking] Use ConstantRange overflow checks for unsigned add/sub; NFC

Use the methods introduced in rL356276 to implement the
computeOverflowForUnsigned(Add|Sub) func...

5ab7e0c1e4be3c3932d5d5edc7869779db06bd86 authored almost 6 years ago by Nikita Popov <[email protected]>