1. [Attributor][FIX] Make value simplification aware of "complicated" (details)
  2. [Attributor][FIX] Handle the default case of a switch (details)
Commit 15cd90a2c44aacbab1fe8682b8c07101ccffb9c4 by johannes
[Attributor][FIX] Make value simplification aware of "complicated"
We cannot simply replace arguments that carry attributes like `nest`,
`inalloca`, `sret`, and `byval`. Except for the last one, which we can
replace if it is not written, we bail for now.
The file was modifiedllvm/test/Transforms/FunctionAttrs/value-simplify.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit ed47a9cde4f667058ac34ef7805fc4093a5a4f7b by johannes
[Attributor][FIX] Handle the default case of a switch
In D69605 only the "cases" of a switch were handled but if none matched
we did not make the default case life. This is fixed now and properly
tested (with code from IPConstantProp/user-with-multiple-uses.ll).
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp