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

Alex Rønne Petersen via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 2 15:03:46 PDT 2024


================
@@ -4331,14 +4331,6 @@ MipsTargetLowering::isOffsetFoldingLegal(const GlobalAddressSDNode *GA) const {
   return false;
 }
 
-EVT MipsTargetLowering::getOptimalMemOpType(
----------------
alexrp wrote:

This hunk is a leftover from a previous version of the patch; please ignore when reviewing. I'll restore this.

(The implementation looks a bit suspect in how it ignores alignment completely and doesn't check the `strict-align` target feature. But that's a completely separate issue.)

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


More information about the llvm-commits mailing list