[PATCH] [NoTTI] reject negative scale in addressing mode
Andrew Trick
atrick at apple.com
Wed May 6 17:02:10 PDT 2015
Please add comments explaining the behavior that you discovered and rationale. Are you just trying to avoid considering reg - reg to be free, or can scale be < -1?
You should be able to test LSR now with opt -loop-reduce and specifying TTI. I'm not sure off the top of my head the best way to specify TTI, but -mtriple probably works.
Otherwise looks good. Thanks for the fix.
http://reviews.llvm.org/D9536
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list