[llvm] [AMDGPU] Use fake16 load/store with +real-true16 and sram-ecc (PR #161256)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 02:58:25 PDT 2025


================
@@ -969,7 +969,7 @@ multiclass DSReadPat_t16<DS_Pseudo inst, ValueType vt, string frag> {
   }
 
   let OtherPredicates = [NotLDSRequiresM0Init] in {
-    foreach p = [NotHasTrue16BitInsts, UseFakeTrue16Insts] in
+    foreach p = [NotHasTrue16BitInsts, UseFakeTrue16Insts, UseLoadStoreTrue16WithSramECC] in
----------------
rampitec wrote:

> (Pre-existing problem, but this patch makes it worse.)

This patch actually makes it working, not worse. W/o it it is just cannot select.

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


More information about the llvm-commits mailing list