commit | 09a568ec140b31b8c973859fd69ae9afbe177494 | [log] [tgz] |
---|---|---|
author | Artem Belevich <tra@google.com> | Tue Aug 04 17:09:47 2020 -0700 |
committer | Artem Belevich <tra@google.com> | Wed Aug 05 12:44:14 2020 -0700 |
tree | eada0cf3384c96d22ba58e1809a7df356a92ef78 | |
parent | fcb9c5033da6654740fb885300fabbf25713aab1 [diff] |
[CUDA, test-suite] Prevent constant folding of the test inputs. We want to codegen the code and verify that it actually executes correctly on the GPU. Passing constand input args via a volatile temporary ensures that the function call is not collapsed. Differential Revision: https://reviews.llvm.org/D85349