[llvm] [FuncAttrs] Don't infer `noundef` for functions with `sanitize_memory` attribute (PR #76691)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 1 14:32:14 PST 2024


================
@@ -1296,6 +1296,12 @@ static void addNoUndefAttrs(const SCCNodeSet &SCCNodes,
     if (!F->hasExactDefinition())
       return;
----------------
nikic wrote:

Unrelated to this PR, but I think this should be continue rather than return as well.

https://github.com/llvm/llvm-project/pull/76691


More information about the llvm-commits mailing list