Commit 020cb91
authored
[AMD] NFC: refactor atomic rmw lowering patterns (#6258)
- Use `select` operation instead of bitwise calculations;
- Split different approaches of atomicRMW lowering to different
functions;
- Introduce AtomicRMWEmmiter to manage these approaches;
- Skip runtime checks if contiguaity is proven on the compile time
---------
Signed-off-by: Ilya Veselov <iveselov.nn@gmail.com>1 parent e3093b4 commit 020cb91
4 files changed
Lines changed: 705 additions & 635 deletions
File tree
- third_party/amd/lib/TritonAMDGPUToLLVM
0 commit comments