aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/vsx.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/vsx.md')
-rw-r--r--gcc/config/rs6000/vsx.md21
1 files changed, 10 insertions, 11 deletions
diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md
index 27069d0..89eaef1 100644
--- a/gcc/config/rs6000/vsx.md
+++ b/gcc/config/rs6000/vsx.md
@@ -703,8 +703,8 @@
/* Otherwise, fall through to transform into a swapping store. */
}
- operands[2] = can_create_pseudo_p () ? gen_reg_rtx_and_attrs (operands[1])
- : operands[1];
+ gcc_assert (can_create_pseudo_p ());
+ operands[2] = gen_reg_rtx_and_attrs (operands[1]);
})
;; The post-reload split requires that we re-permute the source
@@ -775,8 +775,8 @@
/* Otherwise, fall through to transform into a swapping store. */
}
- operands[2] = can_create_pseudo_p () ? gen_reg_rtx_and_attrs (operands[1])
- : operands[1];
+ gcc_assert (can_create_pseudo_p ());
+ operands[2] = gen_reg_rtx_and_attrs (operands[1]);
})
;; The post-reload split requires that we re-permute the source
@@ -854,8 +854,8 @@
/* Otherwise, fall through to transform into a swapping store. */
}
- operands[2] = can_create_pseudo_p () ? gen_reg_rtx_and_attrs (operands[1])
- : operands[1];
+ gcc_assert (can_create_pseudo_p ());
+ operands[2] = gen_reg_rtx_and_attrs (operands[1]);
})
;; The post-reload split requires that we re-permute the source
@@ -947,8 +947,8 @@
/* Otherwise, fall through to transform into a swapping store. */
}
- operands[2] = can_create_pseudo_p () ? gen_reg_rtx_and_attrs (operands[1])
- : operands[1];
+ gcc_assert (can_create_pseudo_p ());
+ operands[2] = gen_reg_rtx_and_attrs (operands[1]);
})
;; The post-reload split requires that we re-permute the source
@@ -1076,9 +1076,8 @@
&& !altivec_indexed_or_indirect_operand (operands[0], <MODE>mode)"
[(const_int 0)]
{
- rtx tmp = (can_create_pseudo_p ()
- ? gen_reg_rtx_and_attrs (operands[0])
- : operands[0]);
+ gcc_assert (can_create_pseudo_p ());
+ rtx tmp = gen_reg_rtx_and_attrs (operands[1]);
rs6000_emit_le_vsx_permute (tmp, operands[1], <MODE>mode);
rs6000_emit_le_vsx_permute (operands[0], tmp, <MODE>mode);
DONE;