[all-commits] [llvm/llvm-project] 470bf7: [Preallocated] Add @llvm.call.preallocated.teardown

aeubanks via All-commits all-commits at lists.llvm.org
Wed Jul 8 08:49:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 470bf7b5a2976b5792a97b2d053a59d4b1082a5f
      https://github.com/llvm/llvm-project/commit/470bf7b5a2976b5792a97b2d053a59d4b1082a5f
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Verifier/preallocated-invalid.ll
    M llvm/test/Verifier/preallocated-valid.ll

  Log Message:
  -----------
  [Preallocated] Add @llvm.call.preallocated.teardown

This cleans up the stack allocated by a @llvm.call.preallocated.setup.
Should either call the teardown or the preallocated call to clean up the
stack. Calling both is UB.

Add LangRef.

Add verifier check that the token argument is a @llvm.call.preallocated.setup.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D83354




More information about the All-commits mailing list