[PATCH] D145220: [X86][InstCombine] Simplify some `pternlog` intrinsics
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 23:56:14 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp:588
+ bool BCIsConst = isa<Constant>(B) && isa<Constant>(C);
+ bool ABCIsConst = isa<Constant>(A) && isa<Constant>(B) && isa<Constant>(C);
+
----------------
If everything is const can we someone use the immediate as a lookup table instead of manually describing every case?
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