<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-14T00:55:41+00:00</updated>
<entry>
<title>[GlobalISel] Change representation of shuffle masks in MachineOperand.</title>
<updated>2020-01-14T00:55:41+00:00</updated>
<author>
<name>Eli Friedman</name>
<email>efriedma@quicinc.com</email>
</author>
<published>2020-01-13T23:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e68e4cbcc50ba7ab8df5e09023f15e6cc2223bef'/>
<id>urn:sha1:e68e4cbcc50ba7ab8df5e09023f15e6cc2223bef</id>
<content type='text'>
We're planning to remove the shufflemask operand from ShuffleVectorInst
(D72467); fix GlobalISel so it doesn't depend on that Constant.

The change to prelegalizercombiner-shuffle-vector.mir happens because
the input contains a literal "-1" in the mask (so the parser/verifier
weren't really handling it properly). We now treat it as equivalent to
"undef" in all contexts.

Differential Revision: https://reviews.llvm.org/D72663
</content>
</entry>
<entry>
<title>[AArch64][GlobalISel] Fold a chain of two G_PTR_ADDs of constant offsets.</title>
<updated>2020-01-07T22:12:42+00:00</updated>
<author>
<name>Amara Emerson</name>
<email>aemerson@apple.com</email>
</author>
<published>2020-01-07T18:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b6598bcf4b81ed8fb66a7c576a81e422750b9329'/>
<id>urn:sha1:b6598bcf4b81ed8fb66a7c576a81e422750b9329</id>
<content type='text'>
E.g.
%addr1 = G_PTR_ADD %base, G_CONSTANT 20
%addr2 = G_PTR_ADD %addr1, G_CONSTANT 8
  --&gt;
%addr2 = G_PTR_ADD %base, G_CONSTANT 28

Differential Revision: https://reviews.llvm.org/D72351
</content>
</entry>
<entry>
<title>[gicombiner] Import tryCombineIndexedLoadStore()</title>
<updated>2019-12-18T14:41:38+00:00</updated>
<author>
<name>Daniel Sanders</name>
<email>daniel_l_sanders@apple.com</email>
</author>
<published>2019-12-18T12:35:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c3cb089a87b7966900277e4f5cd12355baf3607f'/>
<id>urn:sha1:c3cb089a87b7966900277e4f5cd12355baf3607f</id>
<content type='text'>
Summary:
Now that arbitrary data is supported, import tryCombineIndexedLoadStore()

Depends on D69147

Reviewers: bogner, volkan

Reviewed By: volkan

Subscribers: hiraditya, arphaman, Petar.Avramovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69151
</content>
</entry>
<entry>
<title>[GlobalISel] CombinerHelper: Fix a bug in matchCombineCopy</title>
<updated>2019-12-02T20:05:09+00:00</updated>
<author>
<name>Volkan Keles</name>
<email>vkeles@apple.com</email>
</author>
<published>2019-12-02T20:05:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3d02fa6da7d250e086b01b4ec66b513debb7950d'/>
<id>urn:sha1:3d02fa6da7d250e086b01b4ec66b513debb7950d</id>
<content type='text'>
Summary:
When combining COPY instructions, we were replacing the destination registers
with the source register without checking register constraints. This patch adds
a simple logic to check if the constraints match before replacing registers.

Reviewers: qcolombet, aditya_nandakumar, aemerson, paquette, dsanders, Petar.Avramovic

Reviewed By: aditya_nandakumar

Subscribers: rovka, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70616
</content>
</entry>
<entry>
<title>[GISel][CombinerHelper] Use uses() instead of operands() when traversing use operands.</title>
<updated>2019-11-15T21:54:33+00:00</updated>
<author>
<name>Quentin Colombet</name>
<email>qcolombet@apple.com</email>
</author>
<published>2019-11-15T21:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=98ceac498167cfadb05c5bd7590525d75bda01c4'/>
<id>urn:sha1:98ceac498167cfadb05c5bd7590525d75bda01c4</id>
<content type='text'>
NFC
</content>
</entry>
<entry>
<title>[GISel][CombinerHelper] Add support for scalar type for the result of shuffle vector</title>
<updated>2019-11-15T21:54:33+00:00</updated>
<author>
<name>Quentin Colombet</name>
<email>qcolombet@apple.com</email>
</author>
<published>2019-11-15T21:24:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=304abde0779ba036bde985b33eabbc6113cf0189'/>
<id>urn:sha1:304abde0779ba036bde985b33eabbc6113cf0189</id>
<content type='text'>
LLVM IR of 1-element vectors get lower into scalar in GISel. As a
result, shuffle vector may also produce a scalar.

This patch teaches the shuffle combiner how to deal with scalars when
they are in the destination type of a shuffle vector.

For now, we just support the easy case where this can be lowered to
a plain copy. For other cases, we leave the shuffle vector as is.

This type of IR are seen in O0 pipelines. E.g., as produced with
SingleSource/UnitTests/Vector/AArch64/aarch64_neon_intrinsics.c.

rdar://problem/57198904
</content>
</entry>
<entry>
<title>[globalisel] Rename G_GEP to G_PTR_ADD</title>
<updated>2019-11-05T18:31:17+00:00</updated>
<author>
<name>Daniel Sanders</name>
<email>daniel_l_sanders@apple.com</email>
</author>
<published>2019-11-01T20:18:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e74c5b96610dfb03825d31035f50813af58beac5'/>
<id>urn:sha1:e74c5b96610dfb03825d31035f50813af58beac5</id>
<content type='text'>
Summary:
G_GEP is rather poorly named. It's a simple pointer+scalar addition and
doesn't support any of the complexities of getelementptr. I therefore
propose that we rename it. There's a G_PTR_MASK so let's follow that
convention and go with G_PTR_ADD

Reviewers: volkan, aditya_nandakumar, bogner, rovka, arsenm

Subscribers: sdardis, jvesely, wdng, nhaehnle, hiraditya, jrtc27, atanasyan, arphaman, Petar.Avramovic, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69734
</content>
</entry>
<entry>
<title>[GISel][CombinerHelper] Combine shuffle_vector scalar to build_vector</title>
<updated>2019-10-31T01:20:37+00:00</updated>
<author>
<name>Quentin Colombet</name>
<email>qcolombet@apple.com</email>
</author>
<published>2019-10-31T00:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=f0eeb3c7a7136dd043b792ff2d321ad492db203a'/>
<id>urn:sha1:f0eeb3c7a7136dd043b792ff2d321ad492db203a</id>
<content type='text'>
Teach the combiner helper how to replace shuffle_vector of scalars
into build_vector.
I am not particularly happy about having to add this combine, but we
currently get those from &lt;1 x iN&gt; from the IR.

Bonus: This fixes an assert in the shuffle_vector combines since before
this patch, we were expecting vector types.
</content>
</entry>
<entry>
<title>[GISel][CombinerHelper] Add a combine turning shuffle_vector into concat_vectors</title>
<updated>2019-10-21T20:39:58+00:00</updated>
<author>
<name>Quentin Colombet</name>
<email>quentin.colombet@gmail.com</email>
</author>
<published>2019-10-21T20:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6f0ae81512c17ae8fb1033dc4e0b3d4c2424742c'/>
<id>urn:sha1:6f0ae81512c17ae8fb1033dc4e0b3d4c2424742c</id>
<content type='text'>
Teach the CombinerHelper how to turn shuffle_vectors, that
concatenate vectors, into concat_vectors and add this combine
to the AArch64 pre-legalizer combiner.

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

llvm-svn: 375452
</content>
</entry>
<entry>
<title>Fix unused variable in r375066</title>
<updated>2019-10-17T01:21:40+00:00</updated>
<author>
<name>Daniel Sanders</name>
<email>daniel_l_sanders@apple.com</email>
</author>
<published>2019-10-17T01:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=149a02042531980ffdad0314922bd10544484d70'/>
<id>urn:sha1:149a02042531980ffdad0314922bd10544484d70</id>
<content type='text'>
llvm-svn: 375070
</content>
</entry>
</feed>
