[llvm] EarlyCSE: create casts on type-mismatch (PR #113339)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 07:14:49 PDT 2024


================
@@ -31,6 +31,7 @@
 #include "llvm/IR/Constants.h"
 #include "llvm/IR/Dominators.h"
 #include "llvm/IR/Function.h"
+#include "llvm/IR/IRBuilder.h"
----------------
goldsteinn wrote:

For some reason I thought we werent allowed to use builder in EarlyCSE, although thinking about the reason I don't have anythiny concrete.

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


More information about the llvm-commits mailing list