[LAA] Add command line flag to disable unit stride speculation
authorPhilip Reames <preames@rivosinc.com>
Mon, 1 May 2023 17:38:44 +0000 (10:38 -0700)
committerPhilip Reames <listmail@philipreames.com>
Mon, 1 May 2023 17:49:51 +0000 (10:49 -0700)
commit30cdb2ac7e9b28dfaf25771fc7e8ff805d855f7a
tree45271a51b723719270a1a0acf9eb2ad121852cf2
parent8f0dd4ef3ed2137d1e2554204127434fc46ee190
[LAA] Add command line flag to disable unit stride speculation

This is purely so that we can expose and work through downstream codegen issues.  My intention is to see if we can get this disabled by default, but that requires fixing a bunch of downstream issues first.
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll