[all-commits] [llvm/llvm-project] b35f29: [InstSimplify] Avoid use of ConstantExpr::getCast()
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Sep 29 01:27:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b35f2940e9315dd6f5e49a6fa49e4418d4e1b56e
https://github.com/llvm/llvm-project/commit/b35f2940e9315dd6f5e49a6fa49e4418d4e1b56e
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/AndOrXor.ll
Log Message:
-----------
[InstSimplify] Avoid use of ConstantExpr::getCast()
Use the constant folding API instead.
One of these uses actually improves results, because the bitcast
expression gets folded away.
More information about the All-commits
mailing list