[all-commits] [llvm/llvm-project] b1d574: [Libomptarget] Allow static assert to work on 32-b...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jul 12 05:05:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b1d574867defe980312e63f6590cebbac953ca34
https://github.com/llvm/llvm-project/commit/b1d574867defe980312e63f6590cebbac953ca34
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-07-12 (Tue, 12 Jul 2022)
Changed paths:
M openmp/libomptarget/include/omptarget.h
Log Message:
-----------
[Libomptarget] Allow static assert to work on 32-bit systems
Summary:
We use a static assert to make sure that someone doesn't change the size
of an argument struct without properly updating all the other logic.
This originally only checked the size on a 64-bit system with 8-byte
pointers, causing builds on 32-bit systems to fail. This patch allows
either pointer size to work.
Fixes #56486
More information about the All-commits
mailing list