[LLVMdev] Simple question on sign
Ryan Taylor
ryta1203 at gmail.com
Wed Feb 22 18:28:06 CST 2012
How do you determine if a shift is signed or not?
ashr = always signed?
lshr = always unsigned?
shl = always signed?
The CmpInst has the "isSigned()" function, but it appears that every other
Instruction I've looked at doesn't seem to have this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cs.uiuc.edu/pipermail/llvmdev/attachments/20120222/9412d20c/attachment.html
More information about the LLVMdev
mailing list