HomePhabricator

[MemCpyOpt] Fix handling of readnone byval arguments

Authored by nikic on Feb 22 2021, 9:46 AM.

Description

[MemCpyOpt] Fix handling of readnone byval arguments

If the call is readnone, then there may not be any MemoryAccess
associated with the call. Bail out in that case.

This fixes the issue reported at
https://reviews.llvm.org/D94376#2578312.

Details

Committed
nikicFeb 22 2021, 9:48 AM
Parents
rG5616c5b8664b: [clang] Tweaked fixit for static assert with no message
Branches
Unknown
Tags
Unknown