[PATCH] D69897: Add #pragma clang loop vectorize_assume_alignment(n)
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 14:59:34 PST 2019
lebedev.ri added a comment.
To reword, if `vectorize_assume_alignment(32)` is *NOT* lowered
via `CodeGenFunction::EmitAlignmentAssumption()` in clang frontend,
but lowered into `LoopAttributes::VectorizeAssumeAlignment`,
then once the alignment that was specified does not match reality,
there will be a miscompile instead of an UBSan error.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69897/new/
https://reviews.llvm.org/D69897
More information about the cfe-commits
mailing list