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 e223097 commit 0f1c6d2Copy full SHA for 0f1c6d2
README.md
@@ -107,7 +107,7 @@ builder.positionAtEnd(of: entryBB)
107
let local = builder.buildAlloca(type: FloatType.double, name: "local")
108
109
// Compare to the condition
110
-let test = builder.buildICmp(function.parameters[0], IntType.int1.zero(), .notEqual)
+let test = builder.buildICmp(function.parameters[0], IntType.int1.zero(), .equal)
111
112
// Create basic blocks for "then", "else", and "merge"
113
let thenBB = function.appendBasicBlock(named: "then")
0 commit comments