[all-commits] [llvm/llvm-project] b4afad: [InstCombine] Avoid use of ConstantExpr::getZExtOr...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Sep 29 00:45:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b4afade17564c61e9baf8024f8cf6921bdb3bde3
https://github.com/llvm/llvm-project/commit/b4afade17564c61e9baf8024f8cf6921bdb3bde3
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/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine] Avoid use of ConstantExpr::getZExtOrBitcast() (NFC)
Use the constant folding API instead. In the second case using
IR builder should also work, but the way the instructions are
created an inserted there is very unusual, so I've left it alone.
More information about the All-commits
mailing list