aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-10-02 09:26:46 -0700
committerGitHub <noreply@github.com>2025-10-02 09:26:46 -0700
commit18997b5a8fafe3b176529b83700d00d5b5876335 (patch)
treec02ec7c7217236524dac41c3e5f3aa0f66c470d5 /llvm/lib/CodeGen/MachineInstr.cpp
parentc2ef022aa7413ddc9aba48fa6fbe6fbd0cb14e19 (diff)
downloadllvm-18997b5a8fafe3b176529b83700d00d5b5876335.zip
llvm-18997b5a8fafe3b176529b83700d00d5b5876335.tar.gz
llvm-18997b5a8fafe3b176529b83700d00d5b5876335.tar.bz2
[ADT] Fix a bug in DoubleAPFloat::frexp (#161625)
Without this patch, we call APFloat::makeQuiet() in frexp like so: Quiet.getFirst().makeQuiet(); The problem is that makeQuiet returns a new value instead of modifying "*this" in place, so we end up discarding the newly returned value. This patch fixes the problem by assigning the result back to Quiet.getFirst(). We should put [[nodiscard]] on APFloat::makeQuiet, but I'll do that in another patch.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions