[PATCH] D36007: [AMDGPU] Turn s_and_saveexec_b64 into s_and_b64 if result is unused

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 11:38:21 PDT 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/SIOptimizeExecMasking.cpp:97-101
+  case AMDGPU::S_ANDN2_B64:
+  case AMDGPU::S_ORN2_B64:
+  case AMDGPU::S_NAND_B64:
+  case AMDGPU::S_NOR_B64:
+  case AMDGPU::S_XNOR_B64: {
----------------
Probably need a MIR test for this, especially with the exotic opcodes we don't emit now


https://reviews.llvm.org/D36007





More information about the llvm-commits mailing list