[PATCH] D33226: [NewGVN] Replace predicate info leftovers
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 19:21:14 PDT 2017
davide added inline comments.
================
Comment at: lib/Transforms/Scalar/NewGVN.cpp:2798-2800
+ I->replaceAllUsesWith(I->getOperand(0));
+ markInstructionForDeletion(I);
+ }
----------------
I think I could probably just forcefully cast to `CallInst` as we're always guaranteed that PredicateInfo will insert calls in the map, FWIW.
https://reviews.llvm.org/D33226
More information about the llvm-commits
mailing list