[all-commits] [llvm/llvm-project] db6c3e: [flang][runtime] Make NCOPIES= argument of REPEAT ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed Jun 15 14:33:53 PDT 2022
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-06-15 (Wed, 15 Jun 2022)
[flang][runtime] Make NCOPIES= argument of REPEAT a signed integer, & check it
NCOPIES= is currently a std::size_t in the API. If a negative value is
used, the memory allocation will fail. Change it to be a signed integer,
and crash with a message instead if it be negative.
Differential Revision: https://reviews.llvm.org/D127795
More information about the All-commits