[llvm] [llvm] Add NodeMetadata::optUnsafeEdges (NFC) (PR #137539)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 27 13:05:57 PDT 2025
================
@@ -191,10 +192,8 @@ class NodeMetadata {
everConservativelyAllocatable(Other.everConservativelyAllocatable)
#endif
{
- if (NumOpts > 0) {
- std::copy(&Other.OptUnsafeEdges[0], &Other.OptUnsafeEdges[NumOpts],
- &OptUnsafeEdges[0]);
- }
+ if (NumOpts > 0)
----------------
kazutakahirata wrote:
I've dropped the condition in the latest revision. Thanks!
https://github.com/llvm/llvm-project/pull/137539
More information about the llvm-commits
mailing list