[llvm] [DAG] shouldReduceLoadWidth - hasOneUse should check just the loaded value - not the chain (PR #128167)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 04:52:56 PST 2025


================
@@ -14,6 +14,7 @@ set(LLVM_LINK_COMPONENTS
   MC
   MIRParser
   Passes
+  SelectionDAG
----------------
RKSimon wrote:

Ah SelectionDAG depends on CodeGen - not the other way around - so we could drop CodeGen/CodeGenTypes and make the implicit, but I'd probably keep them tbh

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


More information about the llvm-commits mailing list