[llvm] [TTI] NFC: Port TLI.shouldSinkOperands to TTI (PR #110564)

Jeffrey Byrnes via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 12:53:28 PDT 2024


================
@@ -968,6 +968,10 @@ class TargetTransformInfoImplBase {
     return false;
   }
 
+  bool shouldSinkOperands(Instruction *I, SmallVectorImpl<Use *> &Ops) const {
+    return false;
----------------
jrbyrnes wrote:

Yeah I think we can look into that, but I think it should probably be a separate PR especially since there may be regressions. There's a benefit to having this without changing the default.

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


More information about the llvm-commits mailing list