diff options
author | Pan Xiuli <xiuli.pan@intel.com> | 2017-05-17 17:01:57 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2017-05-18 17:35:18 +0800 |
commit | b2d51e273edb999ab9251868bb7199b7ddbcec5f (patch) | |
tree | fd165164cd83d940aa9bcc8c43e063f3dfcb83e6 /utests/compiler_copy_large_image.cpp | |
parent | 47adba6564b73d85c1ea88cb753a1ee92ab4a518 (diff) | |
download | beignet-b2d51e273edb999ab9251868bb7199b7ddbcec5f.tar.gz |
Backend: Fix performance regression with sampler refine fro LLVM40
After the refine we can not know if a sampler is a constant initialized
or not. Then the compiler optimization for constant sampler will break
and we will runtime decide which SAMPLE instruction will use.
Now fix the sampler refine for LLVM40 to enable the constant check.
V2: Fix a typo of function __gen_ocl_sampler_to_int type.
Signed-off-by: Pan Xiuli <xiuli.pan@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/compiler_copy_large_image.cpp')
0 files changed, 0 insertions, 0 deletions