Craig Topper via llvm-dev
llvm-dev at lists.llvm.org
Wed May 15 13:08:46 PDT 2019
That stands for "shift left". Shift right is sra for arithmetic shift right
and srl for logical shift right. Not sure why we don't use ashr and lshr
like IR. Instead we seem to be using the X86 mnemonic names.
On Wed, May 15, 2019 at 1:03 PM Josh Sharp via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I got a question about the SDNode "shl"
> def shl : SDNode<"ISD::SHL" , SDTIntShiftOp>;
> Does it stand for "shift logical" and in what direction does it shift?
> How to shift in the other direction?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev