[all-commits] [llvm/llvm-project] daf897: [IR] Check for SignedMin/-1 division in canTrap() ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jun 17 02:25:27 PDT 2022
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-06-17 (Fri, 17 Jun 2022)
[IR] Check for SignedMin/-1 division in canTrap() (PR56038)
In addition to division by zero, signed division also traps for
SignedMin / -1. This was handled in isSafeToSpeculativelyExecute(),
but not in Constant::canTrap().
More information about the All-commits