diff options
| author | Jessica Clarke <jrtc27@jrtc27.com> | 2025-07-30 17:10:46 +0100 |
|---|---|---|
| committer | Jessica Clarke <jrtc27@jrtc27.com> | 2025-07-30 17:10:46 +0100 |
| commit | 66393c8ec645d9121f2b3e53708b0379a113aa02 (patch) | |
| tree | f2a740bc8ada2dde8506ea87bb6014a9b3722433 /mlir/unittests/IR/IRMapping.cpp | |
| parent | 7e3a1d92899336f57a6af737c9641468a1dd19b3 (diff) | |
| parent | 3e93964b896023b1006d3c878effb68203d4d8dd (diff) | |
Created using spr 1.3.5
Diffstat (limited to 'mlir/unittests/IR/IRMapping.cpp')
| -rw-r--r-- | mlir/unittests/IR/IRMapping.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mlir/unittests/IR/IRMapping.cpp b/mlir/unittests/IR/IRMapping.cpp index b88009d1e3c3..983c41a6c4ae 100644 --- a/mlir/unittests/IR/IRMapping.cpp +++ b/mlir/unittests/IR/IRMapping.cpp @@ -26,10 +26,10 @@ TEST(IRMapping, TypedValue) { Block block; builder.setInsertionPointToEnd(&block); - Value i64Val = builder.create<test::TestOpConstant>( - loc, builder.getI64Type(), builder.getI64IntegerAttr(0)); - Value f64Val = builder.create<test::TestOpConstant>( - loc, builder.getF64Type(), builder.getF64FloatAttr(0.0)); + Value i64Val = test::TestOpConstant::create( + builder, loc, builder.getI64Type(), builder.getI64IntegerAttr(0)); + Value f64Val = test::TestOpConstant::create( + builder, loc, builder.getF64Type(), builder.getF64FloatAttr(0.0)); IRMapping mapping; mapping.map(i64Val, f64Val); |
