[LLVM] Accept `noundef` attribute in function definitions/calls
authorGui Andrade <guiand@google.com>
Wed, 8 Jul 2020 17:22:48 +0000 (17:22 +0000)
committerGui Andrade <guiand@google.com>
Wed, 8 Jul 2020 19:02:04 +0000 (19:02 +0000)
commitff7900d5def4f645a6675d99ad39a38d8a468a63
tree50011f479599395d5606309e610e95d883a884f6
parent89f1ad88b3f1ecf32e797247b9eab5662ed4bcf4
[LLVM] Accept `noundef` attribute in function definitions/calls

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.

Differential Revision: https://reviews.llvm.org/D83412
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
llvm/test/Bitcode/attributes.ll