jmciver created this revision. jmciver added reviewers: vitalybuka, jdoerfert, rjmccall, aqjune, efriedma, nikic. Herald added a project: All. jmciver retitled this revision from "[clang][CodeGen] Add noundef metadata to loading of references (item 5)" to "[clang][CodeGen] Add noundef metadata to loading of references (preliminary 5 of 5)". jmciver published this revision for review. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Update CodGenFunction::EmitLoadOfReference to apply the noundef attribute to load instructions. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D139505 Files: clang/lib/CodeGen/CGExpr.cpp clang/test/CodeGen/tbaa-reference.cpp clang/test/CodeGenCXX/matrix-type-operators.cpp clang/test/CodeGenCXX/vector-noundef.cpp clang/test/OpenMP/for_reduction_codegen.cpp clang/test/OpenMP/for_reduction_codegen_UDR.cpp clang/test/OpenMP/target_map_codegen_35.cpp clang/test/utils/update_cc_test_checks/Inputs/resolve-tmp-conflict.cpp.expected _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits