[llvm] [InstCombine] Missed optimization: Fold (sext(a) & c1) == c2 to (a & c3) == trunc(c2) (PR #112646)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 26 07:10:14 PDT 2024


================
@@ -24,6 +25,7 @@
 #include "llvm/IR/ConstantRange.h"
 #include "llvm/IR/DataLayout.h"
 #include "llvm/IR/InstrTypes.h"
+#include "llvm/IR/Instructions.h"
 #include "llvm/IR/IntrinsicInst.h"
----------------
goldsteinn wrote:

Drop these two added includes.

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


More information about the llvm-commits mailing list