Fixes missing increment in common uniform elim
authorAlan Baker <alanbaker@google.com>
Tue, 16 Jan 2018 19:47:35 +0000 (14:47 -0500)
committerAlan Baker <alanbaker@google.com>
Tue, 16 Jan 2018 19:47:35 +0000 (14:47 -0500)
commit5ffe862f28a7a8e8e6beecadf2d9e3d48e12d7f8
tree45381d0c24b3d4af8adf4d5148c60465855f44ca
parent6cc772c3ce358193aac132a2c798e79e21aec0ad
Fixes missing increment in common uniform elim

* Addresses #1203
* Increments inIdx in IsConstantIndexAccessChain
 * added test to catch the bug
source/opt/common_uniform_elim_pass.cpp
test/opt/common_uniform_elim_test.cpp