AbortedChanges

Summary

  1. [Attributor][FIX] Do not apply h2s for arbitrary mallocs (details)
Commit d20f80780e053dfa3664858c9ac8be15951a035d by jdoerfert
[Attributor][FIX] Do not apply h2s for arbitrary mallocs
H2S did apply to mallocs of non-constant sizes if the uses were OK. This
is now forbidden through reording of the "good" and "bad" cases in the
conditional.
llvm-svn: 374698
The file was modifiedllvm/test/Transforms/FunctionAttrs/heap_to_stack.ll (diff)
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp (diff)