HomePhabricator

[Sink] Really really fix predicate in legality check

Description

[Sink] Really really fix predicate in legality check

LoadInst isn't enough; we need to include intrinsics that perform loads too.

All side-effecting intrinsics and such are already covered by the isSafe
check, so we just need to care about things that read from memory.

D41960, originally from D33179.

Details

Committed
eschaJan 11 2018, 1:28 PM
Parents
rL322310: [clang-tidy] Adding Fuchsia checker for statically constructed objects
Branches
Unknown
Tags
Unknown