[PATCH] D39864: Fix for CFI type tests lowering assert.

Filipe Cabecinhas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 10:29:42 PST 2017


filcab added a comment.

Seems ok assuming that construct is safe.



================
Comment at: llvm/lib/IR/Value.cpp:469
+      BA.push_back(std::make_pair(&U, V));
+      U.set(nullptr);
       continue;
----------------
Does this pattern exist somewhere else in llvm?


https://reviews.llvm.org/D39864





More information about the llvm-commits mailing list