[PATCH] D144939: [SimplifyCFG] Handle MD_noundef when hoisting common codes

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 20:57:30 PST 2023


StephenFan added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1621-1633
         unsigned KnownIDs[] = {LLVMContext::MD_tbaa,
-                               LLVMContext::MD_range,
                                LLVMContext::MD_fpmath,
                                LLVMContext::MD_invariant_load,
                                LLVMContext::MD_nonnull,
                                LLVMContext::MD_invariant_group,
                                LLVMContext::MD_align,
                                LLVMContext::MD_dereferenceable,
----------------
Whether these can be replaced with combineMetadataCSE?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144939/new/

https://reviews.llvm.org/D144939



More information about the llvm-commits mailing list