[PATCH] D110026: [Verifier] Verify scoped noalias metadata

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 18 12:29:10 PDT 2021


nikic created this revision.
nikic added reviewers: jeroen.dobbelaere, jdoerfert.
Herald added subscribers: dexonsmith, hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Verify that `!noalias`, `!alias.scope` and `llvm.experimental.noalias.scope` arguments have the format specified in https://llvm.org/docs/LangRef.html#noalias-and-alias-scope-metadata. I've fixed up a lot of broken metadata used by tests in advance. Especially using a scope instead of the expected scope list is a commonly made mistake.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110026

Files:
  llvm/lib/IR/Verifier.cpp
  llvm/test/Verifier/alias-scope-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110026.373432.patch
Type: text/x-patch
Size: 4643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210918/af658db0/attachment.bin>


More information about the llvm-commits mailing list