[llvm] [AArch64] Add MATCH loops to LoopIdiomVectorizePass (PR #101976)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 05:58:25 PST 2024
david-arm wrote:
In fact, I think we need page boundary checks for the pointer in the outer loop as well. Suppose you find a match in your needle after only two iterations in your scalar outer loop? Your third iteration could cross a page boundary and seg fault. The scalar version of the loop will be fine because we exited before the fault, but the vector version will crash.
https://github.com/llvm/llvm-project/pull/101976
More information about the llvm-commits
mailing list