[all-commits] [llvm/llvm-project] 8e317e: [InstCombine] Remove dead code from foldICmpShlOne...
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Jan 15 19:11:15 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8e317e693a6c131391ee8ebc4321e907329b20ba
https://github.com/llvm/llvm-project/commit/8e317e693a6c131391ee8ebc4321e907329b20ba
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-01-15 (Sun, 15 Jan 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Log Message:
-----------
[InstCombine] Remove dead code from foldICmpShlOne. NFC
This code handles (icmp eq/ne (1 << Y), C) if C is a power of 2.
This case is also handled by the more general foldICmpShlConstConst
which is called before we reach foldICmpShlOne.
More information about the All-commits
mailing list