Caio Marcelo de Oliveira Filho
f7d90c67c7
intel/compiler: Silence maybe-uninitialized warning in GCC 9.1.1
...
Compiler can't see that d is initialized.
../src/intel/compiler/brw_vec4_nir.cpp: In function ‘int brw::try_immediate_source(const nir_alu_instr*, brw::src_reg*, bool, const gen_device_info*)’:
../src/intel/compiler/brw_vec4_nir.cpp:984:12: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
984 | d = MAX2(-d, d);
Assert that we expect at least one component -- hence d going to be
set. That by itself is not enough, so also zero initialize the
variable.
Acked-by: Eric Engestrom <eric.engestrom@intel.com >
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net >
2019-08-23 13:25:27 -07:00
..
2019-08-01 16:56:48 -07:00
2019-04-10 13:15:33 -07:00
2019-04-10 13:15:33 -07:00
2019-07-16 16:05:16 +00:00
2019-08-12 22:56:07 +00:00
2019-07-10 19:35:55 +00:00
2019-04-10 13:15:33 -07:00
2019-05-07 14:33:48 -07:00
2019-04-18 11:05:18 +02:00
2019-07-11 08:29:32 -07:00
2019-07-11 08:29:32 -07:00
2019-06-29 12:56:09 +00:00
2019-08-15 08:17:36 +00:00
2019-08-05 17:19:09 +00:00
2019-07-01 10:14:22 -07:00
2019-06-05 17:03:45 -07:00
2019-07-30 14:35:43 -07:00
2019-05-10 09:10:17 -05:00
2019-04-25 09:19:10 +02:00
2019-07-17 18:44:35 +00:00
2019-08-12 22:56:07 +00:00
2019-05-16 02:14:40 +00:00
2019-06-04 14:27:30 -05:00
2019-08-21 17:19:55 +00:00
2019-06-04 14:37:56 +00:00
2019-04-25 09:19:10 +02:00
2019-04-25 09:19:10 +02:00
2019-04-25 09:19:10 +02:00
2019-07-30 14:35:43 -07:00
2019-08-12 22:56:07 +00:00
2019-08-12 22:56:07 +00:00
2019-07-31 09:41:05 +01:00
2019-03-06 08:35:36 -08:00
2018-12-11 21:26:23 -06:00
2019-04-25 09:19:10 +02:00
2019-06-11 12:12:07 -07:00
2019-08-21 17:19:55 +00:00
2019-05-24 08:38:11 -05:00
2019-04-18 11:05:18 +02:00
2019-04-08 19:29:33 -07:00
2019-08-21 17:19:55 +00:00
2019-05-24 08:38:11 -05:00
2019-05-24 08:38:11 -05:00
2019-08-21 17:19:55 +00:00
2019-08-21 17:19:55 +00:00
2019-08-01 16:56:48 -07:00
2019-04-18 11:05:18 +02:00
2019-04-18 11:05:18 +02:00
2019-01-09 16:42:41 -08:00
2019-02-28 16:58:20 -06:00
2019-08-12 22:56:07 +00:00
2019-04-14 22:25:56 +02:00
2019-02-27 20:06:42 +00:00
2019-02-28 16:58:20 -06:00
2018-12-17 13:47:06 -08:00
2019-08-12 22:56:07 +00:00
2019-07-31 18:14:09 -05:00
2019-08-12 22:56:07 +00:00
2019-08-23 13:25:27 -07:00
2019-01-09 16:42:41 -08:00
2019-02-28 16:58:20 -06:00
2019-02-28 16:58:20 -06:00
2019-08-12 22:56:07 +00:00
2019-07-31 18:14:09 -05:00
2019-07-08 11:30:11 -07:00
2019-07-24 18:00:13 +00:00
2019-07-24 18:00:13 +00:00
2019-08-12 22:56:07 +00:00
2019-08-12 22:56:07 +00:00
2019-06-25 10:09:22 +03:00
2019-07-29 23:30:26 +00:00
2019-01-09 16:42:41 -08:00
2019-08-03 00:08:37 +00:00
2019-08-01 16:39:56 -07:00
2019-06-05 17:03:45 -07:00
2019-04-22 16:54:21 -07:00
2018-12-17 13:47:06 -08:00
2018-12-17 13:47:06 -08:00
2018-12-17 13:47:06 -08:00
2018-12-17 13:47:06 -08:00