Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | ||
---|---|---|
751 | Losing the S_BUFFER_LOAD_IMM check is suspicious but I'm not sure why it was here in the first place |
llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp | ||
---|---|---|
751 | a && (b || a) == a if I am not missing something. I vaguely remember the history of this check. First it was comparing policy bits independently and s_buffer_load_imm did not have glc, so it was comparing with uninitialized memory. Then policy bits were combined into a single cpol operand and I guess the check was mechanically translated. |
Losing the S_BUFFER_LOAD_IMM check is suspicious but I'm not sure why it was here in the first place