[llvm] [LoongArch] Implement canMergeStoresTo to avoid crash while NoImplicitFloat attribute is set (PR #188005)

via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 29 20:09:15 PDT 2026


================
@@ -9154,6 +9154,24 @@ EVT LoongArchTargetLowering::getSetCCResultType(const DataLayout &DL,
   return VT.changeVectorElementTypeToInteger();
 }
 
+bool LoongArchTargetLowering::canMergeStoresTo(
----------------
lrzlin wrote:

Added more tests to improve coverage.

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


More information about the llvm-commits mailing list