summaryrefslogtreecommitdiff
path: root/source/opt/pass.h
diff options
context:
space:
mode:
authorAlan Baker <alanbaker@google.com>2018-02-28 15:23:19 -0500
committerSteven Perron <stevenperron@google.com>2018-02-28 23:12:27 -0500
commitce5941a6425e2b0f8128d02e830a9609b3f18709 (patch)
tree08cea63b79aeed8efdde615cfbc3cf82a7dab6fd /source/opt/pass.h
parentbdaf8d56fbe3fa22ee699e33306ffd5f77b7762f (diff)
downloadSPIRV-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