[all-commits] [llvm/llvm-project] 3d3961: Coroutines: don't infer function attrs before lowe...

Tim Northover via All-commits all-commits at lists.llvm.org
Thu Nov 4 03:24:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d39612b3dd3f6b67ee63da305d30606abbe7287
      https://github.com/llvm/llvm-project/commit/3d39612b3dd3f6b67ee63da305d30606abbe7287
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
    M llvm/test/Transforms/Coroutines/coro-retcon-alloca.ll
    M llvm/test/Transforms/Coroutines/coro-retcon.ll
    M llvm/test/Transforms/FunctionAttrs/noreturn.ll

  Log Message:
  -----------
  Coroutines: don't infer function attrs before lowering

Coroutines have weird semantics that don't quite match normal LLVM functions,
so trying to infer even simple attributes based on thier contents can go wrong.




More information about the All-commits mailing list