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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 06:03:41 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"
----------------
dtcxzyw wrote:

Is this header file needed? I don't see anything about fast-math flags.

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


More information about the llvm-commits mailing list