[PATCH] D35463: [X86][AVX512] Add lowering of vXi32/vXi64 ISD::ROTL/ISD::ROTR
Elena Demikhovsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 16 14:03:56 PDT 2017
delena added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:22683
+ uint64_t RotateAmt = RotateConst->getAPIntValue().getZExtValue();
+ assert(RotateAmt < VT.getScalarSizeInBits() && "Rotation out of range");
+ return DAG.getNode(Op, DL, VT, R,
----------------
Where do we control RotateAmt?
According to the spec COUNT <- COUNT_SRC modulo 32;
Repository:
rL LLVM
https://reviews.llvm.org/D35463
More information about the llvm-commits
mailing list