[all-commits] [llvm/llvm-project] 237df1: [Verifier] Check type of swifterror alloca

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 11 05:53:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 237df15c089d4d66ced7c5ba3b91eeda2d9b4fde
      https://github.com/llvm/llvm-project/commit/237df15c089d4d66ced7c5ba3b91eeda2d9b4fde
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Verifier/swifterror.ll

  Log Message:
  -----------
  [Verifier] Check type of swifterror alloca

Per LangRef, swifterror alloca must be a pointer.

Not checking this may result in a verifier error after transforms
instead, so make sure it's discarded early.




More information about the All-commits mailing list