[llvm] [AArch64] Avoid streaming mode hazards from FP constant stores (PR #114207)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 08:10:18 PDT 2024
================
@@ -489,6 +489,10 @@ class TargetLoweringBase {
return true;
}
+ /// Returns true if a floating-point load or store can be replaced with an
+ /// equivalent integer load or store without negatively affecting performance.
+ virtual bool canUseIntLoadStoreForFloatValues() const { return true; }
----------------
arsenm wrote:
Can you avoid adding a super specific I-want-this-specific-thing-in-one-place style of hook? I would expect this is already expressible in terms of legal operations
https://github.com/llvm/llvm-project/pull/114207
More information about the llvm-commits
mailing list