[llvm-dev] Loop identification
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Sat Jan 14 14:57:52 PST 2017
On 1/13/2017 7:08 PM, Hal Finkel wrote:
> This is integer multiplication or floating-point multiplication? If it
> is integer multiplication, I'd expect that using SCEV would be the
> easiest way to recognize the relevant patterns. SCEV is supposed to
> understand all of the unobfuscation tricks.
>
> Do these instructions contain an implicit loop (of runtime trip count)
> or are you trying to match loops of some fixed trip count?
It's binary polynomial multiplication. The loops are usually with a
compile-time constant iteration count.
I posted a specific patch with that code:
https://reviews.llvm.org/D28694
-Krzysztof
More information about the llvm-dev
mailing list