nvptx.c (nvptx_sese_number, [...]): Don't wrap ei variable name in the declaration in ()s.
* config/nvptx/nvptx.c (nvptx_sese_number, nvptx_sese_pseudo): Don't wrap ei variable name in the declaration in ()s. (nvptx_single): Actually use mode_label variable. Formatting fix. From-SVN: r272243
This commit is contained in:
parent
19d258377f
commit
478cb3ce7e
@ -1,3 +1,9 @@
|
||||
2019-06-13 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/nvptx/nvptx.c (nvptx_sese_number, nvptx_sese_pseudo): Don't
|
||||
wrap ei variable name in the declaration in ()s.
|
||||
(nvptx_single): Actually use mode_label variable. Formatting fix.
|
||||
|
||||
2019-06-13 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-vectorizer.h (vect_loop_vectorized_call): Declare.
|
||||
|
@ -3552,7 +3552,7 @@ nvptx_sese_number (int n, int p, int dir, basic_block b,
|
||||
size_t offset = (dir > 0 ? offsetof (edge_def, dest)
|
||||
: offsetof (edge_def, src));
|
||||
edge e;
|
||||
edge_iterator (ei);
|
||||
edge_iterator ei;
|
||||
|
||||
FOR_EACH_EDGE (e, ei, edges)
|
||||
{
|
||||
@ -3575,7 +3575,7 @@ nvptx_sese_pseudo (basic_block me, bb_sese *sese, int depth, int dir,
|
||||
vec<edge, va_gc> *edges, size_t offset)
|
||||
{
|
||||
edge e;
|
||||
edge_iterator (ei);
|
||||
edge_iterator ei;
|
||||
int hi_back = depth;
|
||||
pseudo_node_t node_back (0, depth);
|
||||
int hi_child = depth;
|
||||
@ -4403,8 +4403,10 @@ nvptx_single (unsigned mask, basic_block from, basic_block to)
|
||||
{
|
||||
rtx_code_label *label = gen_label_rtx ();
|
||||
rtx pred = cfun->machine->axis_predicate[mode - GOMP_DIM_WORKER];
|
||||
rtx_insn **mode_jump = mode == GOMP_DIM_VECTOR ? &vector_jump : &worker_jump;
|
||||
rtx_insn **mode_label = mode == GOMP_DIM_VECTOR ? &vector_label : &worker_label;
|
||||
rtx_insn **mode_jump
|
||||
= mode == GOMP_DIM_VECTOR ? &vector_jump : &worker_jump;
|
||||
rtx_insn **mode_label
|
||||
= mode == GOMP_DIM_VECTOR ? &vector_label : &worker_label;
|
||||
|
||||
if (!pred)
|
||||
{
|
||||
@ -4438,10 +4440,7 @@ nvptx_single (unsigned mask, basic_block from, basic_block to)
|
||||
emit_insn_after (gen_exit (), label_insn);
|
||||
}
|
||||
|
||||
if (mode == GOMP_DIM_VECTOR)
|
||||
vector_label = label_insn;
|
||||
else
|
||||
worker_label = label_insn;
|
||||
*mode_label = label_insn;
|
||||
}
|
||||
|
||||
/* Now deal with propagating the branch condition. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user