[llvm] [DAGCombiner] Fold setcc of trunc, generalizing some NVPTX isel logic (PR #150270)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 09:36:38 PDT 2025


================
@@ -17,6 +17,7 @@
 #include "llvm/CodeGen/Analysis.h"
 #include "llvm/CodeGen/CallingConvLower.h"
 #include "llvm/CodeGen/CodeGenCommonISel.h"
+#include "llvm/CodeGen/ISDOpcodes.h"
----------------
RKSimon wrote:

I'd agree in general but TargetLowering.h and TargetLowering.cpp are supposed to entwined more closely than your regular transitive header chain dependency. And IWYU or clang-tidy warnings are likely to come along and suggest we remove it again anyhow :/

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


More information about the llvm-commits mailing list