[all-commits] [llvm/llvm-project] 15cd90: [Attributor][FIX] Make value simplification aware ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Nov 1 22:30:22 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 15cd90a2c44aacbab1fe8682b8c07101ccffb9c4
      https://github.com/llvm/llvm-project/commit/15cd90a2c44aacbab1fe8682b8c07101ccffb9c4
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/FunctionAttrs/value-simplify.ll

  Log Message:
  -----------
  [Attributor][FIX] Make value simplification aware of "complicated" attributes

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.




More information about the All-commits mailing list