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

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 12:38:33 PST 2017


davide added inline comments.


================
Comment at: llvm/lib/IR/Value.cpp:459
 void Value::replaceUsesExceptBlockAddr(Value *New) {
+  SmallPtrSet<Constant *, 4> Constants;
   use_iterator UI = use_begin(), E = use_end();
----------------
SmallSetVector to make sure this is deterministic, maybe?


https://reviews.llvm.org/D39864





More information about the llvm-commits mailing list