aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/TargetParser/TargetParserTest.cpp
diff options
context:
space:
mode:
authorMikhail R. Gadelha <mikhail@igalia.com>2024-07-11 16:43:48 +0200
committerGitHub <noreply@github.com>2024-07-11 11:43:48 -0300
commitdffa28fa3a907a3e0c64c9b06a46b55fc5cea40a (patch)
treeafbabf5ad7583381b34444d589e8217680c7d3e1 /llvm/unittests/TargetParser/TargetParserTest.cpp
parent4a9de115bfbb083144761b48157c3b51a96e5fd5 (diff)
downloadllvm-dffa28fa3a907a3e0c64c9b06a46b55fc5cea40a.zip
llvm-dffa28fa3a907a3e0c64c9b06a46b55fc5cea40a.tar.gz
llvm-dffa28fa3a907a3e0c64c9b06a46b55fc5cea40a.tar.bz2
[libc] Fix BigInt's operator %= (#98484)
This patch fixes cases where we try to do var %= 1. Previously this operator was calling .div directly since it would perform the inplace division and return the remainder, however, as an early exit condition a division by one returns zero as the remainder. The remainder being returned by div was not being assigned to var.
Diffstat (limited to 'llvm/unittests/TargetParser/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions