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.
Paths
| Differential D83412
[LLVM] Accept `noundef` attribute in function definitions/calls ClosedPublic Authored by guiand on Jul 8 2020, 10:30 AM.
Details Summary The noundef attribute indicates an argument or return value which This patch allows LLVM to parse the attribute. Isolated out of D82316.
Diff Detail
Event Timelineguiand added a child revision: D81699: MemorySanitizer: Add option to insert init checks at call site.Jul 8 2020, 11:04 AM This revision is now accepted and ready to land.Jul 8 2020, 11:33 AM Comment Actions Added a test to attributes.ll, which seems to be where other attributes are tested. Is this sufficient? Closed by commit rGff7900d5def4: [LLVM] Accept `noundef` attribute in function definitions/calls (authored by guiand). · Explain WhyJul 8 2020, 12:02 PM This revision was automatically updated to reflect the committed changes. guiand removed a child revision: D81678: Introduce noundef attribute at call sites for stricter poison analysis.Mar 4 2021, 12:42 AM
Revision Contents
Diff 276511 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
|
nit: Missing period at the end.