halide/Halide — pull request #550 by dsharletg (2014-11-11 17:38:19+00:00)
Title: Don't lower Div/Mod to shift/and in OpenCL C

This fixes #549. It shouldn't impact performance because the underlying OpenCL C compiler really should make this optimization itself, and this avoids some issues with missing operator >>, & for short vector types in OpenCL C for some OpenCL implementations.