[llvm] [AMDGPU][GlobalISel] Expand SGPR S1 exts into G_SELECT (PR #68858)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 01:46:40 PDT 2023


================
@@ -133,6 +133,15 @@ def expand_promoted_fmed3 : GICombineRule<
 
 } // End Predicates = [NotHasMed3_16]
 
+// Form G_AMDGPU_SGPR_S1_TO_VCC_COPY from (copy (trunc)) with the right regbanks.
+def fold_sgpr_s1_to_vcc_copy : GICombineRule<
----------------
jayfoad wrote:

This doesn't seem to be used anywhere.

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


More information about the llvm-commits mailing list