[PATCH] D145220: [X86][InstCombine] Simplify some `pternlog` intrinsics
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 00:12:12 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp:585
+
+ bool ABIsConst = isa<Constant>(A) && isa<Constant>(B);
+ bool ACIsConst = isa<Constant>(A) && isa<Constant>(C);
----------------
Do we need to make sure we are looking at vectors of ConstantInts rather than vectors of ConstantExpr?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145220/new/
https://reviews.llvm.org/D145220
More information about the llvm-commits
mailing list