[all-commits] [llvm/llvm-project] 3a2fbf: [AggressiveInstCombine] Avoid use of ConstantExpr:...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Nov 1 04:24:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a2fbf547d09c51669d00c1557d5818fce0c8639
https://github.com/llvm/llvm-project/commit/3a2fbf547d09c51669d00c1557d5818fce0c8639
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
M llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
Log Message:
-----------
[AggressiveInstCombine] Avoid use of ConstantExpr::getIntegerCast() (NFC)
This transform only deals in truncations, so use
ConstantExpr::getTrunc() instead of ConstantExpr::getIntegerCast()
to clarify what operation is being performed here.
More information about the All-commits
mailing list