[llvm] [AMDGPU] Revert "Preliminary patch for divergence driven instruction selection. Operands Folding 1." (PR #71710)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 09:54:24 PST 2023


================
@@ -4,7 +4,8 @@
 
 ; GCN-LABEL: {{^}}test_mfma_loop_zeroinit:
 
-; GCN-COUNT-32: v_accvgpr_write_b32 a{{[0-9]+}}, 0{{$}}
+; GCN:          v_mov_b32_e32 v0, 0{{$}}
+; GCN-COUNT-32: v_accvgpr_write_b32 a{{[0-9]+}}, v0{{$}}
----------------
jayfoad wrote:

Lots of agpr test cases show regressions like this where we fail to fold inline constants into v_accvgpr_write_b32.

https://github.com/llvm/llvm-project/pull/71710


More information about the llvm-commits mailing list