[PATCH] D139505: [clang][CodeGen] Add noundef metadata to loading of references (preliminary 5 of 5)

John McIver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 22:49:09 PST 2022


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



More information about the cfe-commits mailing list