[PATCH] D83412: [LLVM] Accept `noundef` attribute in function definitions/calls

Gui Andrade via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 10:30:10 PDT 2020


guiand created this revision.
guiand added reviewers: jdoerfert, nikic, efriedma, eugenis.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, hiraditya.
Herald added a project: LLVM.

The `noundef` attribute indicates an argument or return value which
may never have an undef value representation.

      

This patch allows LLVM to parse the attribute.

Isolated out of D82316 <https://reviews.llvm.org/D82316>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83412

Files:
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/IR/Attributes.td
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLToken.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/Attributes.cpp
  llvm/lib/Transforms/Utils/CodeExtractor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83412.276484.patch
Type: text/x-patch
Size: 4790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200708/7300212e/attachment.bin>


More information about the llvm-commits mailing list