Stanislav Mekhanoshin
8de4db697f
[AMDGPU] Lower kernel LDS into a sorted structure
...
Differential Revision: https://reviews.llvm.org/D102954
2021-05-25 11:29:29 -07:00
serge-sans-paille
4ab3041acb
Revert "[NFC] remove explicit default value for strboolattr attribute in tests"
...
This reverts commit bda6e5bee0
.
See https://lab.llvm.org/buildbot/#/builders/109/builds/15424 for instance
2021-05-24 19:43:40 +02:00
serge-sans-paille
bda6e5bee0
[NFC] remove explicit default value for strboolattr attribute in tests
...
Since d6de1e1a71
, no attributes is quivalent to
setting attribute to false.
This is a preliminary commit for https://reviews.llvm.org/D99080
2021-05-24 19:31:04 +02:00
Amara Emerson
c12f046eb9
[GlobalISel] Add new combine to convert scalar G_MUL to G_SHL.
...
For pow2 constants we should use G_SHL for pattern matching (and perf)
purposes later.
Vector support not yet implemented.
Differential Revision: https://reviews.llvm.org/D73659
2020-01-29 13:39:00 -08:00
Amara Emerson
0da937bb5c
[GlobalISel][IRTranslator] Follow convention and put constant offset of getelementptr arithmetic on RHS.
...
We were needlessly putting known constant values on the LHS of a G_MUL, which
is suboptimal.
Differential Revision: https://reviews.llvm.org/D73650
2020-01-29 11:37:19 -08:00
Matt Arsenault
96352e0a1b
AMDGPU/GlobalISel: Handle LDS with relocations case
2020-01-29 08:18:55 -08:00