[PATCH] D129073: [AMDGPU] Combine s_or_saveexec, s_xor instructions.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 12 10:48:33 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp:830-831
+
+  Changed |= optimizeOrSaveexecXorSequences();
+  Changed |= optimizeVCmpxAndSaveexecSequences();
 
----------------
Why do you need to collect every instance in the function before processing them? Each of these can be handled standalone?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129073



More information about the llvm-commits mailing list