Skip to content

Commit d24c8da

Browse files
committed
Comment possibly useless code
1 parent ad4ffde commit d24c8da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gcc/jit/jit-playback.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,9 @@ convert_vector (location *loc,
17401740
tree t_vector = vector->as_tree ();
17411741

17421742
/* It seems IFN_VEC_CONVERT only work on registers, not on memory. */
1743-
if (TREE_CODE (t_vector) == VAR_DECL)
1744-
DECL_REGISTER (t_vector) = 1;
1743+
// TODO: remove this commented code as it doesn't seem necessary anymore.
1744+
/*if (TREE_CODE (t_vector) == VAR_DECL)
1745+
DECL_REGISTER (t_vector) = 1;*/
17451746
tree t_result = build_call_expr_internal_loc (UNKNOWN_LOCATION, IFN_VEC_CONVERT, type->as_tree (), 1, t_vector);
17461747

17471748
if (loc)

0 commit comments

Comments
 (0)