[PATCH] D108048: [DependenceAnalysis] Conservatively exit on type mismatch

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 11:57:18 PDT 2021


nikic added inline comments.


================
Comment at: llvm/lib/Analysis/DependenceAnalysis.cpp:3598
+  TypeSize SrcWriteSize = DL.getTypeStoreSize(GetMemOperandType(Src));
+  TypeSize DstWriteSize = DL.getTypeStoreSize(GetMemOperandType(Dst));
+
----------------
Why does this check the type store size of the pointer type, rather than the accessed type?


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

https://reviews.llvm.org/D108048



More information about the llvm-commits mailing list