[llvm-dev] add/sub instructions

Anastasiya Ruzhanskaya via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 16 03:44:37 PDT 2017


Hello,
I found out recently, that when I have j-- pattern in cycle it is written
in llvm code with the help of addition. I actually wanted to somehow check
are we following descending or acceding pattern in cycle. Is this
substitution of operations done always? or not? seems that in this case the
only way to proceed is to check whether the operand is negative or not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170816/68994b27/attachment.html>


More information about the llvm-dev mailing list