[all-commits] [llvm/llvm-project] 49d731: Verifier: Check frame-pointer attribute values

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Dec 11 06:24:01 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 49d731b5e0ec643ed47dc49c4cffcf974e5af5ad
      https://github.com/llvm/llvm-project/commit/49d731b5e0ec643ed47dc49c4cffcf974e5af5ad
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-11 (Wed, 11 Dec 2019)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Verifier/invalid-frame-pointer-attr-empty.ll
    A llvm/test/Verifier/invalid-frame-pointer-attr-no-value.ll
    A llvm/test/Verifier/invalid-frame-pointer-attr.ll

  Log Message:
  -----------
  Verifier: Check frame-pointer attribute values

There are a few places that check specific string attributes have
particular values, and assert if they are something else. The verifier
should catch these kinds of cases.




More information about the All-commits mailing list