added constant folding & branch elimination to skslc
authorethannicholas <ethannicholas@google.com>
Wed, 9 Nov 2016 21:26:45 +0000 (13:26 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Nov 2016 21:26:45 +0000 (13:26 -0800)
commit08a9211a8492a84e1f4a6899759f8f37ed5aec3e
tree8fe430d685b62467d0a59aa374ef7b98d6a3db4a
parentf2b024db6777a904d986c68a21ba0bc41f956f6e
added constant folding & branch elimination to skslc

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2489673002

Committed: https://skia.googlesource.com/skia/+/6136310ee8f43247548bcefcaeca6d43023c10aa
Review-Url: https://codereview.chromium.org/2489673002
src/sksl/SkSLIRGenerator.cpp
src/sksl/SkSLIRGenerator.h
tests/SkSLErrorTest.cpp
tests/SkSLGLSLTest.cpp