[all-commits] [llvm/llvm-project] d982f1: [InstCombine] Refactor foldICmpMulConstant
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Fri Jul 29 19:29:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d982f1e0c69f3447c4520ae4c010520f62ed1174
https://github.com/llvm/llvm-project/commit/d982f1e0c69f3447c4520ae4c010520f62ed1174
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2022-07-30 (Sat, 30 Jul 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-mul.ll
Log Message:
-----------
[InstCombine] Refactor foldICmpMulConstant
This is a follow-up to 2ebfda2417
(replace "if" with "else if" since the cases nuw/nsw
were meant to be handled separately).
Test plan:
1/ ninja check-llvm check-clang check-lld
2/ Bootstrapped LLVM/Clang pass tests
More information about the All-commits
mailing list