[all-commits] [llvm/llvm-project] 9e22f9: [DAGCombiner] Fix a "subtraction if above a consta...
Piotr Fusik via All-commits
all-commits at lists.llvm.org
Sat May 17 03:19:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e22f9611a5b61f412dbf1b72a4fe2d2089eeec2
https://github.com/llvm/llvm-project/commit/9e22f9611a5b61f412dbf1b72a4fe2d2089eeec2
Author: Piotr Fusik <p.fusik at samsung.com>
Date: 2025-05-17 (Sat, 17 May 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
Log Message:
-----------
[DAGCombiner] Fix a "subtraction if above a constant threshold" miscompile (#140042)
This fixes #135194 incorrectly reusing the existing `add nuw/nsw`
while the transformed code relies on an unsigned wrap.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list