[llvm] [SimplifyCFG] Add optimization for switches of powers of two (PR #70977)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 06:27:56 PST 2023


================
@@ -42,6 +43,7 @@
 #include "llvm/IR/DataLayout.h"
 #include "llvm/IR/DebugInfo.h"
 #include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/FMF.h"
----------------
DKay7 wrote:

Sorry. I believe my language server has automatically inserted this header. In fact, this is not necessary.

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


More information about the llvm-commits mailing list