Commit a704eb7
committed
[SandboxIR] Remove incorrect assertion.
insertBefore can be called on a detached instruction, and we can't check
that the underlying instructions are ordered because instructions
without BB parents have no order.
This problem showed up as a different assertion failure in
llvm::Instruction::comesBefore in one of the unit tests when
EXPENSIVE_CHECKS are enabled.1 parent 0856592 commit a704eb7
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | 127 | | |
132 | 128 | | |
133 | 129 | | |
| |||
0 commit comments