[PATCH] D120268: [AMDGPU] Remove redundand check in the SILoadStoreOptimizer

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 21 11:42:51 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp:751
-           CI.CPol == Paired.CPol &&
-           (CI.InstClass == S_BUFFER_LOAD_IMM || CI.CPol == Paired.CPol);
   }
----------------
Losing the S_BUFFER_LOAD_IMM check is suspicious but I'm not sure why it was here in the first place


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120268/new/

https://reviews.llvm.org/D120268



More information about the llvm-commits mailing list