[llvm-dev] Loop Strength Reduction Pass Does Not Work for Some Varialbles Related to Induction Variables
Tingyuan LIANG via llvm-dev
llvm-dev at lists.llvm.org
Wed Apr 17 06:41:50 PDT 2019
Dear Momchil,
Thanks a lot for your detailed information and yes, it seems that loop strength reduction is limited by scaled index addressing mode. Now, I implement a simple LSR pass to do LSR aggressively, ignoring the scaled addressing mode.
Thanks again for you time and suggestions!
Best regards,
------------------------------------------
Tingyuan LIANG
MPhil Student
Department of Electronic and Computer Engineering
The Hong Kong University of Science and Technology
________________________________
From: Momchil Velikov <momchil.velikov at gmail.com>
Sent: Tuesday, April 16, 2019 2:40 AM
To: Tingyuan LIANG
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Loop Strength Reduction Pass Does Not Work for Some Varialbles Related to Induction Variables
Some multiplications, used in address calculation, may stay after loop strength reduction, if the target machine has scaled index addressing mode.
--
Momchil Velikov,
Senior Compiler Engineer
Arm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190417/32f13f2a/attachment.html>
More information about the llvm-dev
mailing list