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

[SimplifyLibCalls] Fix comments about fputs, memchr, and s[n]printf. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355905 91177308-0d34-0410-b5e6-96231b3b...

65378bcd1441671aac9c302fe878d82136d2593d authored almost 6 years ago by Fangrui Song <[email protected]>
[CGP] Fix UB when GEP is bound to trivial PHINode

Differential revision: https://reviews.llvm.org/D59140

git-svn-id: https://llvm.org/svn/llvm-p...

13df7e16ef7ae9e21bea0a8aab31cd8d7bad7c2c authored almost 6 years ago by Eugene Leviant <[email protected]>
Propagating prior merge from 'llvm.org/master'.

80718ddd32cd47991d74b0102d69a3e032c6f4cb authored almost 6 years ago by Automerger <Automerger@Swift>
[AMDGPU] Add support for immediate operand for S_ENDPGM

Summary:
Add support for immediate operand in S_ENDPGM

Change-Id: I0c56a076a10980f719fb2a8f1640...

4b43b47d8a7ff93e78cb7ed22501b4ab4cd3c5c3 authored almost 6 years ago by David Stuttard <[email protected]>
[TTI] Enable analysis of clib functions in getIntrinsicCosts. NFCI.

This is addressing the issue that we're not modeling the cost of clib functions
in TTI::getIntri...

240db0070c2ec1728a01d23a4c4132f61e6aa10d authored almost 6 years ago by Sjoerd Meijer <[email protected]>
[TableGen] Allow 2^63-1 and 2^63-2 as int literals.

These two values correspond to the 'Empty' and 'Tombstone' special
keys defined by DenseMapInfo<...

8183de62fd440d71808e32ee3efff584adbf60ce authored almost 6 years ago by Simon Tatham <[email protected]>
[RISCV] Add test cases for the lp64 ABI

These are closely modeled on similar tests for the ilp32 ABI. Like those
tests, we group togethe...

456da09d906f4eef5fd221da139f6a78b20360a8 authored almost 6 years ago by Alex Bradbury <[email protected]>
Fix git-llvm crashing when trying to remove directory while cleaning

Summary:
I'm trying to push D59198 but it seems that `git-llvm push` can't handle the fact
that ...

3c8560f7a3ee4bd9ca353901e9338c3bebc796ba authored almost 6 years ago by Raphael Isemann <[email protected]>
Very minor typo. NFC

Typo `we we're` => `we were` in the pass EarlyCSE

Patch by liangdzou (Liang ZOU)

Differential ...

5cb331b8894a70c626668f022998305c4f4be334 authored almost 6 years ago by Kristina Brooks <[email protected]>
llvm-objcopy: Remove unused field. NFCI.

Differential Revision: https://reviews.llvm.org/D59126

git-svn-id: https://llvm.org/svn/llvm-pr...

57bdd1c0582efe10621deaf648d21ae0274706b8 authored almost 6 years ago by Peter Collingbourne <[email protected]>
Reland "Relax constraints for reduction vectorization"

Change from original commit: move test (that uses an X86 triple) into the X86
subdirectory.

Ori...

2d9ad1071146e1106fdaabe611a83aa190effaee authored almost 6 years ago by Sanjoy Das <[email protected]>
Add Swift enumerator value for CodeView::SourceLanguage

Summary:
Swift now generates PDBs for debugging on Windows. llvm and lldb
need a language enumer...

e348e5023a25ef496bca1dbbffe55b3deb9e6243 authored almost 6 years ago by Nathan Lanza <[email protected]>
Propagating prior merge from 'llvm.org/master'.

662326e899249a51dca9367dd853464d55597569 authored almost 6 years ago by Automerger <Automerger@Swift>
Hexagon RDF: Replace function template (plus explicit specializations) with non-template overloads

For the design in question, overloads seem to be a much simpler and less subtle solution.

This ...

cded725cbea9047bf9793b73432dc8528be36683 authored almost 6 years ago by David Blaikie <[email protected]>
Revert "Relax constraints for reduction vectorization"

This reverts commit r355868. Breaks hexagon.

git-svn-id: https://llvm.org/svn/llvm-project/llv...

5b9ba1171e679dfc54b33051eb99e0d752499210 authored almost 6 years ago by Sanjoy Das <[email protected]>
Propagating prior merge from 'llvm.org/master'.

148859c621ae117c66190b0a5183579f342e77e7 authored almost 6 years ago by Automerger <Automerger@Swift>
Merge remote-tracking branch 'llvm/master' into upstream-with-swift

Conflicts:
lib/Transforms/Coroutines/CoroSplit.cpp

f833814e8a0e977833a6378c05b6cccbadb2f639 authored almost 6 years ago by Azharuddin Mohammed <[email protected]>
[X86] Remove ProcModel and ProcFeatures tablegen classes. Move all feature lists into a ProcessorFeatures class.

ProcFeatures was a class that just concatenated two feature lists together and gave it a name. W...

d332bc44067211588dc215c1b93e007ea30abb2f authored almost 6 years ago by Craig Topper <[email protected]>
Recommit "[GlobalISel][AArch64] Add selection support for G_EXTRACT_VECTOR_ELT"

After r355865, we should be able to safely select G_EXTRACT_VECTOR_ELT without
running into any ...

2377ecc1613136e07ac36927e4b4fce8141df760 authored almost 6 years ago by Jessica Paquette <[email protected]>
Remove ASan asm instrumentation.

Summary: It is incomplete and has no users AFAIK.

Reviewers: pcc, vitalybuka

Subscribers: srhi...

cc5a8c21afc5fc4645d7ce19780e6a89df12a948 authored almost 6 years ago by Evgeniy Stepanov <[email protected]>
[RISCV] Do a sign-extension in a compare-and-swap of 32 bit in RV64A

AtomicCmpSwapWithSuccess is legalised into an AtomicCmpSwap plus a comparison.
This requires an ...

f2cfb7b3d3b842c901de68637cd2cfcacf0b8f26 authored almost 6 years ago by Alex Bradbury <[email protected]>
Relax constraints for reduction vectorization

Summary:
Gating vectorizing reductions on *all* fastmath flags seems unnecessary;
`reassoc` shou...

ceec6f23cb997b3903d250ced18e2f0003809f90 authored almost 6 years ago by Sanjoy Das <[email protected]>
[RISCV] Allow fp as an alias of s0

The RISC-V Assembly Programmer's Manual defines fp as another alias of x8.
However, our tablegen...

7cb38d512dc742d95a0278fbf3e29ecd5d319466 authored almost 6 years ago by Alex Bradbury <[email protected]>
[GlobalISel][AArch64] Always fall back on aarch64.neon.addp.*

Overloaded intrinsics aren't necessarily safe for instruction selection. One
such intrinsic is a...

cb9067728a598b76e123839c850ee5be3aec4fbb authored almost 6 years ago by Jessica Paquette <[email protected]>
[RISCV][NFC] Convert some MachineBaiscBlock::iterator(MI) to MI.getIterator()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355864 91177308-0d34-0410-b5e6-96231b3...

f3044fe69631433b02807a5248820dccb662ffa6 authored almost 6 years ago by Alex Bradbury <[email protected]>
[SimplifyCFG] Retain debug info when threading jumps with critical edges

Fixes bug 38023: https://bugs.llvm.org/show_bug.cgi?id=38023

The SimplifyCFG pass will perform ...

9f983e11a5a63740c68b6b7f0651f0a4b0562928 authored almost 6 years ago by Jeremy Morse <[email protected]>
Remove esan.

It hasn't seen active development in years, and it hasn't reached a
state where it was useful.

...

a44000a1a85866f1a7508ee028f2d7a7a4690e8b authored almost 6 years ago by Nico Weber <[email protected]>
[SDAG][AArch64] Legalize VECREDUCE

Fixes https://bugs.llvm.org/show_bug.cgi?id=36796.

Implement basic legalizations (PromoteIntRes...

802a6632d562c7a45cfd89e0f625ccf77496a25a authored almost 6 years ago by Nikita Popov <[email protected]>
gn build: Merge r355777

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355857 91177308-0d34-0410-b5e6-96231b3b...

b3804eeeac66cfda3de465c7d4612bd51e6f072a authored almost 6 years ago by Nico Weber <[email protected]>
gn build: Merge r355835

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355856 91177308-0d34-0410-b5e6-96231b3b...

9644531df492900886fa51083da6a60f19b0550e authored almost 6 years ago by Nico Weber <[email protected]>
gn build: Merge r355834

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355855 91177308-0d34-0410-b5e6-96231b3b...

079d1d896c91ca00bf3d061049e14cee33ff0e5a authored almost 6 years ago by Nico Weber <[email protected]>
[RegAlloc] Avoid compile time regression with multiple copy hints.

As a fix for https://bugs.llvm.org/show_bug.cgi?id=40986 ("excessive compile
time building openc...

e3834c1b198f52b49755b4c57d257afa57baabde authored almost 6 years ago by Jonas Paulsson <[email protected]>
[coroutines][PR40979] Ignore unreachable uses across suspend points

Summary:
Depends on https://reviews.llvm.org/D59069.

https://bugs.llvm.org/show_bug.cgi?id=4097...

b11ac3d4e1a18da92bc2a306fb1ecb323fc12f28 authored almost 6 years ago by Brian Gesiak <[email protected]>
Detect malformed LC_LINKER_COMMANDs in Mach-O binaries

Summary:
llvm-objdump can be tricked into reading beyond valid memory and
segfaulting if LC_LINK...

d891699e6f7b0cdf589419560be707ee8dc418e0 authored almost 6 years ago by Michael Trent <[email protected]>
[X86] Extend widening comparison test.

Ensure we test both v2i16 unary and binary comparisons.

git-svn-id: https://llvm.org/svn/llvm-p...

ca9c63cecee4a16b5939c8559d88fa982e805a99 authored almost 6 years ago by Simon Pilgrim <[email protected]>
[NFC][PowerPC] Add comment for PPCAsmPrinter::printOperand

Patch by Yi-Hong Lyu

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355848 91177308-0...

1b9ddbde0268c938620304976834709419eb5def authored almost 6 years ago by Jinsong Ji <[email protected]>
[DAG] FoldSetCC - reuse valuetype + ensure its simple.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355847 91177308-0d34-0410-b5e6-96231b3b...

0280621b31265836ceceaa56c7e87ee41e9f2684 authored almost 6 years ago by Simon Pilgrim <[email protected]>
[Utils] Extract EliminateUnreachableBlocks (NFC)

Summary:
Extract the functionality of eliminating unreachable basic blocks
within a function, pr...

905c1b120c707e256c525cc55ec73cb915d8ad74 authored almost 6 years ago by Brian Gesiak <[email protected]>
[DAG] Move SetCC NaN handling into FoldSetCC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355845 91177308-0d34-0410-b5e6-96231b3b...

4e3754ce697e9649f719ec7ff86d8c0b36f0c73c authored almost 6 years ago by Simon Pilgrim <[email protected]>
Use bitset for assembler predicates

AMDGPU target run out of Subtarget feature flags hitting the limit of 64.
AssemblerPredicates us...

5d5019bab2cd6239c45745b419e327ffc392eb0e authored almost 6 years ago by Stanislav Mekhanoshin <[email protected]>
[TableGen] Replace a dyn_cast with isa to avoid an unused variable warning introduced in r355785. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355837 91177308-0d34-0410-b5e6-96231b3b...

1063a019c3fb9517389a06ad3cff4444ffa36cc7 authored almost 6 years ago by Craig Topper <[email protected]>
[AMDGPU] Mark enum types in SIDefines.h as unsigned

MSVC issues some warnings about signed/unsigned comparison.

Differential Revision: https://revi...

fcda0348af167df722d773bcecfe105970a7b689 authored almost 6 years ago by Stanislav Mekhanoshin <[email protected]>
[SimplifyCFG] Retain debug info when threading jumps with critical edges

Fixes bug 38023: https://bugs.llvm.org/show_bug.cgi?id=38023

The SimplifyCFG pass will perform ...

763ae301ec727b4ad3443962dacfd9f3b5e73221 authored almost 6 years ago by Jeremy Morse <[email protected]>
[yaml2obj] - Simplify. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355832 91177308-0d34-0410-b5e6-96231b...

3b379a97271a0727ee5bfbcfbac3f1a1dd1b26eb authored almost 6 years ago by George Rimar <[email protected]>
[DAG] TargetLowering::SimplifySetCC - call FoldSetCC early to handle constant/commute folds.

Noticed while looking at PR40800 (and also D57921)

git-svn-id: https://llvm.org/svn/llvm-projec...

71dcb3c2106b5548b743390fada18110e7161565 authored almost 6 years ago by Simon Pilgrim <[email protected]>
[MIPS][microMIPS] Add a pattern to match TruncIntFP

A pattern needed to match TruncIntFP was missing. This was causing multiple
tests from llvm test...

16c00e17ef73711364f993516ed5a93b15a449b7 authored almost 6 years ago by Petar Jovanovic <[email protected]>
[CGP] Limit distance between overflow math and cmp


Inserting an overflowing arithmetic intrinsic can increase register
pressure by producing tw...

64ecbb6debdc7023f37f7f0f0b53b98b969a5674 authored almost 6 years ago by Sam Parker <[email protected]>
[JumpThreading] Retain debug info when replacing branch instructions

Fixes bug 37966: https://bugs.llvm.org/show_bug.cgi?id=37966

The Jump Threading pass will repla...

b6c96952b72f8b280b69ca7436303673a6ced8f1 authored almost 6 years ago by Jeremy Morse <[email protected]>
[llvm-objcopy] - Fix --compress-debug-sections when there are relocations.

When --compress-debug-sections is given,
llvm-objcopy removes the uncompressed sections and adds...

ee1b824708e719d652ba4ca0c4ac9abd244cfe04 authored almost 6 years ago by George Rimar <[email protected]>
[MIPS GlobalISel] Silence uninitialized variable warning

The control flow here cannot ever use the uninitialized value, but it's
too hard for the compile...

f3ff35c66b59f9ba0fe7d59874e7dac6a828c0a4 authored almost 6 years ago by Benjamin Kramer <[email protected]>
[MIPS GlobalISel] NarrowScalar G_UMULH

NarrowScalar G_UMULH in LegalizerHelper
using multiplyRegisters helper function.
NarrowScalar G...

e7f4ae297ee798d0acc8facf889ddfee7957c9f4 authored almost 6 years ago by Petar Avramovic <[email protected]>
[MIPS GlobalISel] NarrowScalar G_MUL

Narrow Scalar G_MUL for MIPS32.
Revisit NarrowScalar implementation in LegalizerHelper.
Introduc...

4306b0ed95a29a690a4a989be1234a3bbf4df6c5 authored almost 6 years ago by Petar Avramovic <[email protected]>
Attempt to fix build errors caused by r355812

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355813 91177308-0d34-0410-b5e6-96231b3b...

bd07e506c86df4b77417d38d4a83438a9f62043a authored almost 6 years ago by Pavel Labath <[email protected]>
Propagating prior merge from 'llvm.org/master'.

163bb1f2dca8b5f6dd94e51c3fc713792087f629 authored almost 6 years ago by Automerger <Automerger@Swift>
[Support/Endian] Add support for endian-specific enums

Summary:
Binary formats often include various enumerations or bitsets, but using
endian-specific...

fbbf45ee832884375edd9e19f90eab4065ab2091 authored almost 6 years ago by Pavel Labath <[email protected]>
[X86] Enable sse2_cvtsd2ss intrinsic to use an EVEX encoded instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355810 91177308-0d34-0410-b5e6-96231b3b...

6c46962524ce798f7944546fcd81cd37cb7ae61a authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Remove apparently unneeded patterns for storing a bitcasted extractelement.

I suspect if this pattern was seen, DAG combine would just change the type of the store to elimi...

be6cf2ad91e36927477577e7881ff894b5b04be7 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Use 'UseAVX' in place of 'HasAVX, NoAVX512'. NFC

They mean the same thing, but 'HasAVX, NoAVX512' only appears in this one place. Every other pla...

27eb754d246eea8bc46502542dce414c8bd16616 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Add SCALAR_SINT_TO_FP/SCALAR_UINT_TO_FP ISD opcodes without rounding mode.

After this we no longer need to match FROUND_CURRENT or FROUND_NO_EXC during isel so I remove th...

fa11051dc449739624cb879d2a675e10fbdcc658 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Split SCALEF(S) ISD opcodes into a version without rounding mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355806 91177308-0d34-0410-b5e6-96231b3b...

a06b09b70dece85f44b060e6959bd340c92c0baf authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Split RCP28/RSQRT/GETEXP/EXP2 ISD opcodes into SAE and current direction nodes. Remove rounding mode operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355805 91177308-0d34-0410-b5e6-96231b3b...

a88cb1d663837a501e2fc5abd800796875c8cf1c authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Rename _RND versions of RANGE/REDUCE/GETMANT/RDNSCALE ISD opcodes to _SAE. Remove SAE operand.

No need to explicitly store it and match it during isel.

git-svn-id: https://llvm.org/svn/llvm-...

c991b03242a62ab23d830c410069fd6de82dd6eb authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Rename X86ISD::CVTPH2PS_RND to CVTPH2PS_SAE. Remove SAE operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355803 91177308-0d34-0410-b5e6-96231b3b...

4cd65f011b0d90d6f27a4229cfeede83deb882d2 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Rename the CVTT*_RND ISD nodes to _SAE and remove the SAE operand. Split VFPROUNDS_RND/VFPEXT(S)_RND into versions without rounding operand.

For VFPEXT(S) we only need current rounding mode and an SAE version. Neither need extra operand....

a00be16cd8ce3284450837c483a221927f46ca66 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Rename X86ISD::CMPM_RND and X86ISD::FSETCCM_RND to _SAE instead of _RND. Remove rounding operand.

The operand could only be the SAE encoding so no need to include it.

git-svn-id: https://llvm.o...

190ec51dd6329709552416728426650db3af6bd6 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Split the VFIXUPIMM/VFIXUPIMMS nodes into a current rounding mode and SAE ISD opcode.

Remove matching of FROUND_CURRENT and FROUND_NO_EXC for these nodes from isel table.

git-svn-id...

b0f6bf123b74cf21d5d0eac237a96b44c7c4fa8f authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Begin removing matching of FROUND_CURRENT and FROUND_NO_EXC from isel tables.

Instead I plan to have dedicated nodes for FROUND_CURRENT and FROUND_NO_EXC.

This patch starts ...

5ff6def596a110df5879710aab348a13dc1ae046 authored almost 6 years ago by Craig Topper <[email protected]>
[PowerPC] Remove the override of isMachineVerifierClean() to open machine verifier

After fix all asserts found by machine verifier in PowerPC target with following patches,
we can...

6a7719c7965af52f904e16588c1754f65bcb8ff0 authored almost 6 years ago by Zi Xuan Wu <[email protected]>
Add test case for add to sub post legalization. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355797 91177308-0d34-0410-b5e6-96231b3b...

5ddf9b4b323e39741613f7ed846aa1e9bcdc5af0 authored almost 6 years ago by Amaury Sechet <[email protected]>
[X86] Remove unneeded isel patterns from VCVTSI2SDZ and VCVTUSI2SDZ. NFC

We had patterns using X86ISD::SCALAR_SINT_TO_FP_RND/SCALAR_UINT_TO_FP_RND for
these instructions...

7ddc0aad2664e9968e0c34d05a3aaac5aecea952 authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Remove VCVTSI2SDZrrb_Int as it shouldn't exist.

This would convert a signed 32-bit integer to double precision with rounding. But there's nothin...

15db37690127d5ca2befe855b88dec0a929cf5c5 authored almost 6 years ago by Craig Topper <[email protected]>
Remove redundant extractBooleanFlip argument. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355794 91177308-0d34-0410-b5e6-96231b3b...

4e3a7c08f35e1b1716e22b032b38e6a75c4884ac authored almost 6 years ago by Amaury Sechet <[email protected]>
[x86] add x86-specific opcodes to extractelement scalarization list

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355792 91177308-0d34-0410-b5e6-96231b3...

6a6735dc5864d58fa2735763609b42c59a520184 authored almost 6 years ago by Sanjay Patel <[email protected]>
[CGP] fix comments; NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355791 91177308-0d34-0410-b5e6-96231b3...

87e0f2615452807dbcf4a7e31c817b5c7eab60d7 authored almost 6 years ago by Sanjay Patel <[email protected]>
[X86] Remove unused variable. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355790 91177308-0d34-0410-b5e6-96231b3b...

5cc724bae15c7950d825c63cc438d0c8dff4df3e authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Make lowering of intrinsics with rounding mode stricter so that only valid rounding modes are lowered. Update tests accordingly

Many of our tests were not using valid rounding mode immediates. Clang verifies this in the fron...

385eaa67a35b51d8c8bd173d376ac8ff7f5325aa authored almost 6 years ago by Craig Topper <[email protected]>
[X86] Remove dead code from the handler for INTR_TYPE_SCALAR_MASK_RM.

The code in here handles nodes with 6 or 7 operands. But only the 6 operand case is ever used th...

3d8d3321c08b34638ff5b7440f09138a0b4de971 authored almost 6 years ago by Craig Topper <[email protected]>
[AArch64] Add tests for saddsat/ssubsat; NFC

Signed versions of the existing unsigned tests.

git-svn-id: https://llvm.org/svn/llvm-project/l...

47bbaefec48f5acb5b8793fc38b4e92f9e3c76db authored almost 6 years ago by Nikita Popov <[email protected]>
Propagating prior merge from 'llvm.org/master'.

8e8aad3732587f4296324be32b7fe6f5caa3a9ec authored almost 6 years ago by Automerger <Automerger@Swift>
[TableGen] Make CheckImmAllOnesVMatcher and CheckImmAllZerosVMatcher contradictory matchers.

This improves X86 factoring a little bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/tr...

3e098bee9526aa5ae4785bbb666cff922810e484 authored almost 6 years ago by Craig Topper <[email protected]>
Recommit r355224 "[TableGen][SelectionDAG][X86] Add specific isel matchers for immAllZerosV/immAllOnesV. Remove bitcasts from X86 patterns that are no longer necessary."

Includes a fix to emit a CheckOpcode for build_vector when immAllZerosV/immAllOnesV is used as a...

7f415404f7388e1eb2f01a23c7c3f4258dc74498 authored almost 6 years ago by Craig Topper <[email protected]>
[runtime] Use --strip-all rather than --strip-sections

We need to preserve section headers for shared libraries.

Differential Revision: https://review...

4daee4c2afed10b62063b8b5551798a0452b4aaf authored almost 6 years ago by Petr Hosek <[email protected]>
[git-llvm] Only use --force-interactive when supported

The --force-interactive option was introduced in SVN 1.8, and trying to
pass it to older SVN cli...

df9bea7129f8a6fa52ad36cee53534d8353295c9 authored almost 6 years ago by Shoaib Meenai <[email protected]>
[ValueTracking] Move constant range computation into ValueTracking; NFC

InstructionSimplify currently has some code to determine the constant
range of integer instructi...

324dd572977ab9cd0e05d8ba0de0ab50ba2502bd authored almost 6 years ago by Nikita Popov <[email protected]>
Merge remote-tracking branch 'origin/swift-5.1-branch' into stable

3d789c7f3b5cc3f9d5a977799b0ba3ef02893019 authored almost 6 years ago by swift_jenkins <[email protected]>
[ARM] Use non-constant operand in umulo-32.ll; NFC

Currently the store+load is folded and both operands of the umulo
end up being constants. To avo...

86f7633c4dd5909fb88c8e222ae53e1d336af0cd authored almost 6 years ago by Nikita Popov <[email protected]>
[ARM] Generate test checks for umulo-32.ll; NFC

The second test case is going to be changed by D59041, so generate
full baseline checks.

git-sv...

79fd81910e4d7952f8f32f2ce37f74b87714e3a9 authored almost 6 years ago by Nikita Popov <[email protected]>
[RISCV][NFC] Minor refactoring of CC_RISCV

Immediately check if we need to early-exit as we have a return value that
can't be returned dire...

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

226b4ca0e59e68d3a0be84fa4d8a79818728e473 authored almost 6 years ago by Automerger <Automerger@Swift>
[RISCV][NFC] Split out emitSelectPseudo from EmitInstrWithCustomInserter

It's cleaner and more consistent to have a separate helper function here.

git-svn-id: https://...

cd335133b271d7770ed3417d6ed435d163946244 authored almost 6 years ago by Alex Bradbury <[email protected]>
[RISCV] Support -target-abi at the MC layer and for codegen

This patch adds proper handling of -target-abi, as accepted by llvm-mc and
llc. Lowering (codege...

ee8f60f78fdc5cc535baaac529df043357c02d23 authored almost 6 years ago by Alex Bradbury <[email protected]>
[WebAssembly] Use named operands to identify loads and stores

Summary:
Uses the named operands tablegen feature to look up the indices of
offset, address, and...

aca9dda712959d055e6fd6a6597815ad42d807ca authored almost 6 years ago by Thomas Lively <[email protected]>
Refactor isBooleanFlip into extractBooleanFlip so that users do not depend on the patern matched. NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355769 91177308-0d34-0410-b5e6-96231b3b...

e3fedf30811ab9bab596b5c34aff983628338084 authored almost 6 years ago by Amaury Sechet <[email protected]>
[x86] add tests for extract of FP select; NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355768 91177308-0d34-0410-b5e6-96231b3b...

e7e3dde9033078877c3f68758da0c17d8225fdaa authored almost 6 years ago by Sanjay Patel <[email protected]>
[ScalarizeMaskedMemIntrin] Use IRBuilder functions that take uint32_t/uint64_t for getelementptr, extractelement, and insertelement.

This saves needing to call getInt32 ourselves. Making the code a little shorter.

The test chang...

7c2c4642b9189ac6fb1de6af4948babecafe3373 authored almost 6 years ago by Craig Topper <[email protected]>
[CMake] Support stripping and linking output to .build-id directory

When installing runtimes with install-runtimes-stripped, we don't want
to just strip them, we al...

308caddf916a4e1ac99b086a8d371738ec91f1de authored almost 6 years ago by Petr Hosek <[email protected]>
Rename a local variable counter to Counter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355759 91177308-0d34-0410-b5e6-96231b...

2473ad9be81f62834350baebac653a50f7fb7d20 authored almost 6 years ago by Wei Mi <[email protected]>
[RegisterCoalescer][NFC] bind a DenseMap access to a reference to avoid

repeated lookup operations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355757 911...

7124801b6f19b757ce2e75b2f716c5397ef7a2a0 authored almost 6 years ago by Wei Mi <[email protected]>
[ScalarizeMaskedMemIntrin] Only set the ModifiedDT flag if new basic blocks were added.

There are special cases in the scalarization for constant masks. If we hit one of the special ca...

cc2caa3c8bcb80e840d0b5756cabd8e7d6f18d63 authored almost 6 years ago by Craig Topper <[email protected]>
[RISCV] Allow access to FP CSRs without F extension

Summary:
Floating-point CSRs should be accessible even when F extension is not enabled.
But pseu...

d9f176f3a8f43938630ff4186ac34bef7d055ce6 authored almost 6 years ago by Ana Pazos <[email protected]>