[PATCH] D143578: [VP] Add vp.powi and a pass for expanding vp.powi before DAG.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 10 22:10:19 PST 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/ExpandPowi.cpp:82
+ ExpTy, Intrinsic::vp_and, {Exp, ConstantInt::get(ExpTy, 1), True, EVL});
+ // FIXME: Use vp.icmp.
+ Value *IsOdd = Builder.CreateICmpNE(And1, ConstantInt::get(ExpTy, 0));
----------------
What's preventing using vp.icmp?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143578/new/
https://reviews.llvm.org/D143578
More information about the llvm-commits
mailing list