diff options
author | Richard Smith <richard@metafoo.co.uk> | 2020-03-09 17:01:07 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2020-03-09 17:01:07 -0700 |
commit | 51fab8f36f47d84e0bcf00bdd711fd1b7739d134 (patch) | |
tree | b5949b0366925b40911c3d1ecad6eef2f8207946 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2669e41b7b9c1561a01048d5ed0aba3c62432dfc (diff) | |
download | llvm-51fab8f36f47d84e0bcf00bdd711fd1b7739d134.zip llvm-51fab8f36f47d84e0bcf00bdd711fd1b7739d134.tar.gz llvm-51fab8f36f47d84e0bcf00bdd711fd1b7739d134.tar.bz2 |
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.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions