Details
- Reviewers
foad Joe_Nash - Group Reviewers
Restricted Project - Commits
- rG7940888c5987: [AMDGPU] Intrinsic to expose s_wait_event for export ready
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
2070 | Should this be int_amdgcn_s_wait_event_export_ready? I'm not sure how consistent we are about including the "s" or "v" prefix in intrinsic names. | |
llvm/lib/Target/AMDGPU/SIISelLowering.cpp | ||
8375 ↗ | (On Diff #476134) | Why do you need this? Can't you do it with a tablegen selection pattern? |
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wait.event.ll | ||
1 ↗ | (On Diff #476134) | Should test globalisel as well. |
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
2070 | I'm in two minds about this since the intrinsic doesn't strictly map to the instruction. I think I slightly prefer this one. | |
llvm/lib/Target/AMDGPU/SIISelLowering.cpp | ||
8375 ↗ | (On Diff #476134) | Yes, I'll update it. There are potentially some complexities that may have to be handled in a later patch, but I think they can also be handled in tablegen too. |
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wait.event.ll | ||
1 ↗ | (On Diff #476134) | Yes, will do. |
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
2071 | Why is the immediate missing from the intrinsic? Should this also have the ClangBuiltin name declared here? | |
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wait.event.ll | ||
1 ↗ | (On Diff #476149) | Should use an explicit -global-isel=0 |
9 ↗ | (On Diff #476149) | All the other scalar intrinsics have the s in the name |
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
2071 | Added the ClangBuiltin |
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
2071 | If you are adding the clang builtin perhaps there should there be an OpenCL test. |
Should this be int_amdgcn_s_wait_event_export_ready? I'm not sure how consistent we are about including the "s" or "v" prefix in intrinsic names.