You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[libc++] Add assumption for align of begin and end pointers of vector.
Missing information about begin and end pointers of std::vector can lead
to missed optimizations in LLVM.
See llvm#101372 for a discussion
of missed range check optimizations in hardened mode.
Once llvm#108958 lands, the created
`llvm.assume` calls for the alignment should be folded into the `load`
instructions, resulting in no extra instructions after InstCombine.
0 commit comments