File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,20 @@ respond stateVar request =
162
162
checkConstraintsConsistent
163
163
substPat
164
164
165
+ let trivialResponse =
166
+ execResponse
167
+ req
168
+ (0 , mempty , RewriteTrivial substPat)
169
+ substitution
170
+ unsupported
171
+
165
172
case evaluatedInitialPattern of
166
173
(Left ApplyEquations. SideConditionFalse {}, _) -> do
167
174
-- input pattern's constraints are Bottom, return Vacuous
168
- pure $
169
- execResponse
170
- req
171
- (0 , mempty , RewriteTrivial substPat)
172
- substitution
173
- unsupported
175
+ pure trivialResponse
176
+ (Left ApplyEquations. UndefinedTerm {}, _) -> do
177
+ -- LLVM has stumbled upon an undefined term, the whole term is Bottom, return Vacuous
178
+ pure trivialResponse
174
179
(Left other, _) ->
175
180
pure . Left . RpcError. backendError $ RpcError. Aborted (Text. pack . constructorName $ other)
176
181
(Right newPattern, simplifierCache) -> do
You can’t perform that action at this time.
0 commit comments