[all-commits] [llvm/llvm-project] 7e405e: [FuncAttrs] Don't infer `noundef` for functions wi...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Mon Jan 1 15:00:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e405eb722e40c79b7726201d0f76b5dab34ba0f
https://github.com/llvm/llvm-project/commit/7e405eb722e40c79b7726201d0f76b5dab34ba0f
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
M llvm/test/Transforms/FunctionAttrs/noundef.ll
Log Message:
-----------
[FuncAttrs] Don't infer `noundef` for functions with `sanitize_memory` attribute (#76691)
MemorySanitizer assumes that the definition and declaration of a
function will be consistent. If we add `noundef` for some definitions,
it will break msan.
Fix buildbot failure caused by #76553.
More information about the All-commits
mailing list