[llvm] [AMDGPU] Select trunc(srl x, 16) as hi16 subregister on true16 (PR #221960)

Harrison Hao via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 02:51:52 PDT 2026


================
@@ -3549,6 +3549,12 @@ def : GCNPat <
   (EXTRACT_SUBREG $a, sub0)
 >;
 
+let True16Predicate = UseRealTrue16Insts in
----------------
harrisonGPU wrote:

Thanks, I have updated.

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


More information about the llvm-commits mailing list