These are meant to be used instead of the llvm.SI.fs.interp intrinsic which
will be deprecated at some point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
135 ↗ | (On Diff #42621) | I'm not sure this should have the v prefix |
lib/Target/AMDGPU/AMDGPUIntrinsicExpander.cpp | ||
1 ↗ | (On Diff #42621) | Why is this easier than handling the differences during intrinsic lowering? |
test/CodeGen/AMDGPU/llvm.SI.fs.interp.ll | ||
74–78 ↗ | (On Diff #42621) | Should be moved into file with new name |
lib/Target/AMDGPU/AMDGPUIntrinsicExpander.cpp | ||
---|---|---|
1 ↗ | (On Diff #42621) | I would like to stop using the intrinsics like fs.interp which are more like library calls, so I don't want to add them to the public IntrinsicsAMDGPU.td file. Having an IR expansion pass here means I only need to handle the lower-level intrinsics in isSourceOfDivergence(), and I don't need to use AMGPUInstrinsicInfo to look up intrinsic names. |