Make mask-and-shift the default for bitselwrite
authorClaire Wolf <claire@symbioticeda.com>
Thu, 16 Apr 2020 10:11:52 +0000 (12:11 +0200)
committerClaire Wolf <claire@symbioticeda.com>
Thu, 16 Apr 2020 10:11:52 +0000 (12:11 +0200)
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
frontends/ast/simplify.cc

index 18ad6926f204fbc4d712b7037df7d5fef56d5e7f..2ebe2edbcded03f9e89646e50e89bccd345bbe92 100644 (file)
@@ -1753,7 +1753,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
                        result_width = abs(int(left_at_zero_ast->integer - right_at_zero_ast->integer)) + 1;
                }
 
-               if (1)
+               if (0)
                {
                        // big case block