Issue 126354
Summary [Bug] GVNPass incorrectly considered as uninitialized
Labels new issue
Assignees
Reporter Zhenhang1213
    In this demo, hook_param has been memset, but in GVNPass , clang consideres hook_param.flags is uninitialized.

https://github.com/llvm/llvm-project/blob/6f241e36831927e3aea113cfc017c34fdeda340a/llvm/lib/IR/ConstantFold.cpp#L676-L678
https://godbolt.org/z/83nMW8M8o
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to