aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp
diff options
context:
space:
mode:
authorNick Sarnie <nick.sarnie@intel.com>2025-11-11 00:12:13 +0900
committerGitHub <noreply@github.com>2025-11-10 15:12:13 +0000
commitc17a839d8335ae75447221adf62f7993e575a913 (patch)
treec4017f4f70dbe82bd6355bc3ee91cf8a53a73b27 /llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp
parent69c8756af0734c78542f09996dc6101792474324 (diff)
downloadllvm-c17a839d8335ae75447221adf62f7993e575a913.zip
llvm-c17a839d8335ae75447221adf62f7993e575a913.tar.gz
llvm-c17a839d8335ae75447221adf62f7993e575a913.tar.bz2
[OMPIRBuilder] Fix addrspace of internal critical section lock (#166459)HEADmain
First, for internal variables, they are always global, so use the global AS by default unless specified otherwise. We can't really use `0` as a default like we do now because that has an actual meaning on some targets, so we really need specified vs unspecified, so I used `std::optional` which is already used in many places in OMPIRBuilder. Second, for the critical lock variable, add an addrspace cast if needed. Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
Diffstat (limited to 'llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp')
0 files changed, 0 insertions, 0 deletions