diff options
author | Richard Biener <rguenther@suse.de> | 2022-01-18 12:15:36 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-01-18 12:19:49 +0100 |
commit | d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9 (patch) | |
tree | 93844258e08af8d5dcd7561b8e5e67e2acf68575 /gcc/cgraph.h | |
parent | abb748aaf3e1d25258949856d5b39f6ac90a8119 (diff) | |
download | gcc-d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9.zip gcc-d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9.tar.gz gcc-d21db05b6f44f8cb6df8da5af276df0c4bb3a6c9.tar.bz2 |
pack fields in cgraph_simd_clone_arg and struct function
As pointed out by pahole.
2022-01-18 Richard Biener <rguenther@suse.de>
* cgraph.h (struct cgraph_simd_clone_arg): Re-arrange fields to
avoid padding.
* function.h (struct function): Likewise.
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index a265107..43fc94e 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -764,14 +764,14 @@ struct GTY(()) cgraph_simd_clone_arg { variable), uniform, or vector. */ enum cgraph_simd_clone_arg_type arg_type; + /* Variable alignment if available, otherwise 0. */ + unsigned int alignment; + /* For arg_type SIMD_CLONE_ARG_TYPE_LINEAR_*CONSTANT_STEP this is the constant linear step, if arg_type is SIMD_CLONE_ARG_TYPE_LINEAR_*VARIABLE_STEP, this is index of the uniform argument holding the step, otherwise 0. */ HOST_WIDE_INT linear_step; - - /* Variable alignment if available, otherwise 0. */ - unsigned int alignment; }; /* Specific data for a SIMD function clone. */ |