diff options
author | Alan Baker <alanbaker@google.com> | 2018-02-28 15:23:19 -0500 |
---|---|---|
committer | Steven Perron <stevenperron@google.com> | 2018-02-28 23:12:27 -0500 |
commit | ce5941a6425e2b0f8128d02e830a9609b3f18709 (patch) | |
tree | 08cea63b79aeed8efdde615cfbc3cf82a7dab6fd /source/opt/pass.h | |
parent | bdaf8d56fbe3fa22ee699e33306ffd5f77b7762f (diff) | |
download | SPIRV-Tools-ce5941a6425e2b0f8128d02e830a9609b3f18709.tar.gz SPIRV-Tools-ce5941a6425e2b0f8128d02e830a9609b3f18709.tar.bz2 SPIRV-Tools-ce5941a6425e2b0f8128d02e830a9609b3f18709.zip |
Fixes #1357. Support null constants better in folding
* getFloatConstantKind() now handles OpConstantNull
* PerformOperation() now handles OpConstantNull for vectors
* Fixed some instances where we would attempt to merge a division by 0
* added tests
Diffstat (limited to 'source/opt/pass.h')
0 files changed, 0 insertions, 0 deletions