[all-commits] [llvm/llvm-project] 77b010: [InstSimplify] Move fold into isDivZero() (NFCI)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Apr 24 03:45:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77b010474e3dab38f73f4225b54c8963a8e90744
https://github.com/llvm/llvm-project/commit/77b010474e3dab38f73f4225b54c8963a8e90744
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-04-24 (Mon, 24 Apr 2023)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
Log Message:
-----------
[InstSimplify] Move fold into isDivZero() (NFCI)
This is a special case where we know the division result is zero.
For the unsigned case this is handled by generic icmp code, for
the signed case we do need to special case it.
More information about the All-commits
mailing list