[all-commits] [llvm/llvm-project] 6cd5eb: [InstCombine] Avoid some uses of ConstantExpr::get...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Sep 28 08:02:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6cd5eb1f5469e3148c7504e0183b1b84227b495e
https://github.com/llvm/llvm-project/commit/6cd5eb1f5469e3148c7504e0183b1b84227b495e
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
Log Message:
-----------
[InstCombine] Avoid some uses of ConstantExpr::getZExt() (NFC)
Add helpers getLosslessUnsignedTrunc/getLosslessSignedTrunc for
this common pattern.
More information about the All-commits
mailing list