Jeff Bolz 3fd1232665 Improved fix for buffer reference constants
This is an alternate fix for the issue described in commit be63facd, whose
solution didn't work if there were non-trivial operations involved in computing
a constant initializer which caused the 'constant unfolding' code to kick in
(addConstantReferenceConversion). Instead, this change does the 'unfolding'
later in createSpvConstantFromConstUnionArray. If a reference-type constant has
survived that long, then folding is already done, this must be a 'real' (inside
a function) use of the constant, and it should be safe to unfold and apply the
bitcast.
2019-03-06 09:28:29 -06:00
..
2016-03-03 12:12:07 -05:00
2018-08-07 03:16:20 +09:00
2016-07-19 15:13:47 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2017-07-23 13:54:15 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-07-23 11:49:42 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:25:35 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2016-11-21 18:25:08 -07:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-08-23 14:33:31 -06:00
2017-06-26 17:52:22 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-03-03 18:19:03 -07:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2017-10-22 23:17:18 -06:00
2013-11-12 03:31:24 +00:00
2018-08-07 03:16:20 +09:00
2013-11-12 03:31:24 +00:00
2013-02-08 18:56:56 +00:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2019-01-07 12:36:13 -06:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-04-23 15:17:21 -06:00
2018-08-07 03:16:20 +09:00
2019-02-25 23:42:59 -06:00