commit | 5dca746dd424e5e05608db26c923432e3e261f9b | [log] [tgz] |
---|---|---|
author | Fraser Cormack <fraser@codeplay.com> | Thu Aug 31 13:41:53 2023 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Aug 31 06:31:05 2023 -0700 |
tree | 56648972c12af6b848baedbde4378dac8eb026fd | |
parent | 5455a6e99490799f1a00694a906ddf465bb2a685 [diff] |
libclc: Fix signed integer underflow in abs_diff We noticed this same issue in our own implementation of abs_diff, and the same issue also came up in the abs_diff reference function in the OpenCL CTS. Reviewed By: rjodinchr Differential Revision: https://reviews.llvm.org/D159275 GitOrigin-RevId: 37a3de1e2eedf848b8442217ef3790436f69a7db