[llvm] Missing opt with ctlz and shifts of power of 2 constants (#41333) (PR #74175)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 1 22:09:49 PST 2023
================
@@ -514,6 +514,8 @@ static Instruction *foldCttzCtlz(IntrinsicInst &II, InstCombinerImpl &IC) {
return IC.replaceInstUsesWith(II, ConstantInt::getNullValue(II.getType()));
}
+ ConstantInt *CInt;
----------------
dtcxzyw wrote:
Seems like it cannot handle constant splat vectors.
https://github.com/llvm/llvm-project/pull/74175
More information about the llvm-commits
mailing list