HomePhabricator

Mark test function as 'weak' to prevent interprocedural CSE.

Authored by rsmith on Mar 9 2020, 5:01 PM.

Description

Mark test function as 'weak' to prevent interprocedural CSE.

A recent change to MemorySSA caused LLVM to start optimizing the call to
'f(x)' into just 'x', despite the 'noinline' attribute. So try harder to
prevent this optimization from firing.

Details

Committed
rsmithMar 9 2020, 5:01 PM
Parents
rG2669e41b7b9c: PR45083: Mark statement expressions as being dependent if they contain…
Branches
Unknown
Tags
Unknown