summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-10-25 16:44:15 -0700
committerJohannes Doerfert <johannes@jdoerfert.de>2023-10-29 10:53:20 -0700
commit31b91213bd28647e061bd59f1b6712d1dcc27b74 (patch)
treee24037d58fe931b6c586719b0c7ed2c2bc8d0455 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8d2efd7427ff01277f68a95ec27b83193c1c15fb (diff)
[OpenMP] Unify the min/max thread/teams pathways
We used to pass the min/max threads/teams values through different paths from the frontend to the middle end. This simplifies the situation by passing the values once, only when we will create the KernelEnvironment, which contains the values. At that point we also manifest the metadata, as appropriate. Some footguns have also been removed, e.g., our target check is now triple-based, not calling convention-based, as the latter is dependent on the ordering of operations. The types of the values have been unified to int32_t.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions