[llvm] [llvm] Ensure that soft float targets don't use float/vector code for memops. (PR #107022)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon May 5 03:32:55 PDT 2025


================
@@ -2023,6 +2023,11 @@ class TargetLoweringBase {
     return LLT();
   }
 
+  bool useIntScalarMemOps(const AttributeList &FuncAttributes) const {
----------------
arsenm wrote:

Needs documentation. Also the name should reflect the meaning, not the implementation. This seems to me like it's just an extension of useSoftFloat which contains the function context. Can you just add the argument to useSoftFloat instead? 

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


More information about the llvm-commits mailing list