aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-02-27 15:23:01 +0100
committerNikita Popov <npopov@redhat.com>2023-03-01 15:33:45 +0100
commitddccc5ba4479a36dd4821f0948e118438fbf2e56 (patch)
tree13b5db75775d330cef63febfdcba09bcf246a0b4 /clang/unittests/libclang/LibclangTest.cpp
parent9d0703a6461b4e84113951ea444da7099fe4b646 (diff)
downloadllvm-ddccc5ba4479a36dd4821f0948e118438fbf2e56.zip
llvm-ddccc5ba4479a36dd4821f0948e118438fbf2e56.tar.gz
llvm-ddccc5ba4479a36dd4821f0948e118438fbf2e56.tar.bz2
[CodeGen] Always expand division larger than i128
Default MaxDivRemBitWidthSupported to 128, so that divisions larger than 128 bits are always expanded, without requiring additional configuration from the target. Note that this may still emit calls to __udivti3 on 32-bit targets, which likely don't have an implementation of that builtin. However, I believe this is sufficient to fix https://github.com/llvm/llvm-project/issues/60531, because Zig must already be defining those builtins. Differential Revision: https://reviews.llvm.org/D144871
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions