LLVM does this optimization for normal stores, but it doesn't know
anything about the tbuffer_store instrinsics.
Details
Details
- Reviewers
arsenm
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, although I think this should be done in an IR pass though
lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
2015 | You can use isUndef() |
You can use isUndef()