[llvm] [DAGCombiner] Fold setcc of trunc, generalizing some NVPTX isel logic (PR #150270)
Alex MacLean via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 09:21:45 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"
----------------
AlexMaclean wrote:
My IDE automatically added this. You're correct we're getting this transitively through other headers but I'd lean towards including it here explicitly as well so if those headers ever change we're not broken here. I don't have strong feelings about this though so if you think it should be removed I'm happy to do so.
https://github.com/llvm/llvm-project/pull/150270
More information about the llvm-commits
mailing list