We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e896196 commit d1ee26bCopy full SHA for d1ee26b
mlir/test/Target/LLVMIR/Import/constant.ll
@@ -219,10 +219,10 @@ define i64 @const_exprs_with_duplicate() {
219
220
; Verify the import of constant expressions with cyclic dependencies.
221
222
-@cyclic = internal constant i64 mul (i64 ptrtoint (ptr @cyclic to i64), i64 ptrtoint (ptr @cyclic to i64))
+@cyclic = internal constant i64 add (i64 ptrtoint (ptr @cyclic to i64), i64 ptrtoint (ptr @cyclic to i64))
223
224
; CHECK-LABEL: @cyclic
225
; CHECK: %[[ADDR:.+]] = llvm.mlir.addressof @cyclic
226
; CHECK: %[[VAL0:.+]] = llvm.ptrtoint %[[ADDR]]
227
-; CHECK: %[[VAL1:.+]] = llvm.mul %[[VAL0]], %[[VAL0]]
+; CHECK: %[[VAL1:.+]] = llvm.add %[[VAL0]], %[[VAL0]]
228
; CHECK: llvm.return %[[VAL1]]
0 commit comments