[llvm-dev] Upper 32bits from 64bit value

Sandeep Kumar Singh via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 24 22:12:11 PDT 2015


Hi,

I need to fetch lower and higher 32bits from 64bit value. I found
"CreateLShr" function to fetch lower 32bits,
llvm::Value *intermediateValue = LLVMIRBuilder->CreateLShr(x64BitValue, 32);

What function I need to use for fetching upper 32bits from 64bit value.

Thanks in advance,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150925/f2975dc0/attachment.html>


More information about the llvm-dev mailing list