Skip to content

Commit 9586664

Browse files
smowtontautschnig
authored andcommitted
Remove comment that no longer applies
The check is probably ok to go too, but we should make type preservation of `simplify` an invariant first.
1 parent 5a145b3 commit 9586664

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/util/simplify_expr_struct.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ bool simplify_exprt::simplify_member(exprt &expr)
262262

263263
// Guess: turning this into a byte-extract operation is not really an
264264
// optimisation.
265-
// The type_eq check is because get_subexpression_at_offset uses
266-
// base_type_eq, whereas in the context of a simplifier we should not
267-
// change the type of the expression.
268265
if(
269266
equivalent_member.has_value() &&
270267
equivalent_member.value().id() != ID_byte_extract_little_endian &&

0 commit comments

Comments
 (0)