[all-commits] [llvm/llvm-project] b66220: [InstCombine] [NFC] use C.isNegatedPowerOf2() inst...
ZCBing via All-commits
all-commits at lists.llvm.org
Tue Jul 5 02:05:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b66220f25aead4043208ef2fb1c33acd161d666a
https://github.com/llvm/llvm-project/commit/b66220f25aead4043208ef2fb1c33acd161d666a
Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
Date: 2022-07-05 (Tue, 05 Jul 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Log Message:
-----------
[InstCombine] [NFC] use C.isNegatedPowerOf2() instead of (~C + 1).isPowerOf2()
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D129103
More information about the All-commits
mailing list