Ron Lieberman
cac749ac88
[AMDGPU] Add FixupVectorISel pass, currently Supports SREGs in GLOBAL LD/ST
...
Add a pass to fixup various vector ISel issues.
Currently we handle converting GLOBAL_{LOAD|STORE}_*
and GLOBAL_Atomic_* instructions into their _SADDR variants.
This involves feeding the sreg into the saddr field of the new instruction.
llvm-svn: 347008
2018-11-16 01:13:34 +00:00
Stanislav Mekhanoshin
127dbdbb02
[AMDGPU] Cleanup in memory legalizer tests. NFC.
...
llvm-svn: 325042
2018-02-13 20:03:32 +00:00
Yaxun Liu
2a22c5deff
[AMDGPU] Switch to the new addr space mapping by default
...
This requires corresponding clang change.
Differential Revision: https://reviews.llvm.org/D40955
llvm-svn: 324101
2018-02-02 16:07:16 +00:00
Konstantin Zhuravlyov
cff1155035
AMDGPU: Cleanup memory legalizer load/store tests
...
llvm-svn: 316590
2017-10-25 17:04:46 +00:00
Konstantin Zhuravlyov
538612c885
AMDGPU/NFC: Rename memory legalizer tests:
...
- memory-legalizer-atomic-load.ll -> memory-legalizer-load.ll
- memory-legalizer-atomic-store.ll -> memory-legalizer-store.ll
llvm-svn: 316586
2017-10-25 16:45:28 +00:00