[PATCH] D99383: [GlobalISel] Add G_ROTR and G_ROTL opcodes for rotates
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 26 04:48:03 PDT 2021
foad added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:1581-1582
}
+ case TargetOpcode::G_ROTR:
+ case TargetOpcode::G_ROTL: {
+ LLT Src1Ty = MRI->getType(MI->getOperand(1).getReg());
----------------
Why are these different from G_SHL etc, which don't have any special checking here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99383/new/
https://reviews.llvm.org/D99383
More information about the llvm-commits
mailing list