[all-commits] [llvm/llvm-project] bea53e: The device expression must evaluate to a non-negat...
Harshil Jani via All-commits
all-commits at lists.llvm.org
Sun Feb 13 03:22:08 PST 2022
Author: Harshil Jain <harshiljani2002 at gmail.com>
Date: 2022-02-13 (Sun, 13 Feb 2022)
The device expression must evaluate to a non-negative integer value.
Device clause when it occurs with **target enter data** and **target exit data** must be declared with some non negative value. So some changes were made to evaluate the device clause argument to non negative value and throw the expected error when it takes negative value as argument.
Reviewed By: clementval
Differential Revision: https://reviews.llvm.org/D119141
More information about the All-commits