[Mlir-commits] [mlir] [mlir][emitc] Lower arith.index_cast, arith.index_castui, arith.shli, arith.shrui, arith.shrsi (PR #95795)

Corentin Ferry llvmlistbot at llvm.org
Mon Jul 8 05:35:13 PDT 2024


================
@@ -15,8 +15,10 @@
 
 #include "mlir/Dialect/Arith/IR/Arith.h"
 #include "mlir/Dialect/EmitC/IR/EmitC.h"
+#include "mlir/Dialect/EmitC/Transforms/TypeConversions.h"
 #include "mlir/IR/BuiltinAttributes.h"
 #include "mlir/IR/BuiltinTypes.h"
+#include "mlir/IR/Region.h"
----------------
cferry-AMD wrote:

You're right, it is not. That's a remnant of the first implementation I had done of the shifts, that used an if/then/else instead of a ternary operator. I removed that. Thanks!

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


More information about the Mlir-commits mailing list