[all-commits] [llvm/llvm-project] 6ce746: [InstCombine] Avoid uses of ConstantExpr::getCast()
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Sep 29 02:32:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6ce7461eeab7a7ca7496518184a79361c5e05c5e
https://github.com/llvm/llvm-project/commit/6ce7461eeab7a7ca7496518184a79361c5e05c5e
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Avoid uses of ConstantExpr::getCast()
Add a generalized getLosslessTrunc() helper to simplify this.
More information about the All-commits
mailing list