[PATCH] D70080: [AArch64][SVE] Allocate locals that are scalable vectors.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 01:56:49 PST 2019


sdesmalen added a comment.

Thanks for the review @efriedma and @cameron.mcinally!



================
Comment at: llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:2500
 
   Min = std::numeric_limits<int>::max();
   Max = std::numeric_limits<int>::min();
----------------
Before I committed the patch, I moved the initialization of Min and Max to the start of the function.
The MemorySanitizer found it was reading uninitialized memory when calling this function through `estimateSVEStackObjectOffsets`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70080/new/

https://reviews.llvm.org/D70080





More information about the llvm-commits mailing list