summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorMainak Sil <mainaksil0@gmail.com>2024-09-18 20:59:49 +0530
committerGitHub <noreply@github.com>2024-09-18 11:29:49 -0400
commit475ceca859233b387c22f13ecef581158ef36346 (patch)
treeaa98057a506aff982e90aeed03695840d657ca84 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent67518a44fec0f59b2f926059cf15ec77ec72da13 (diff)
[clang] Increase VecLib bitfield size to 4 bits in CodeGenOptions.def (#108804)
Summary: This PR fixes the issue where the VecLib bitfield in CodeGenOptions.def is too small to accommodate the increasing number of vector libraries. Specifically, the bitfield size was previously set to 3, but with the introduction of more vector libraries (currently 9), the bitfield needed to be expanded to avoid potential issues in vectorization. In this PR, I have increased the size of the VecLib bitfield from 3 to 4 to account for the additional libraries. This ensures that all 9 vector libraries are correctly encoded and available for use without errors. Changes Made: Modified: Increased the VecLib bitfield size from 3 to 4 in clang/include/clang/Basic/CodeGenOptions.def. Motivation: This change is necessary to ensure that all vector libraries are properly represented and selectable. The current limitation of the VecLib bitfield size was causing some vectorization opportunities to be lost when more than 3 bits were needed to represent the library options. Closes: Fixes https://github.com/llvm/llvm-project/issues/108704
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions