[llvm] [NewGVN] Set parent to the temporal instructions that are generated during phi-of-ops optimization (PR #66314)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 00:08:51 PDT 2023


================
@@ -538,6 +538,8 @@ class NewGVN {
   // created that they are known equivalent to.
   DenseMap<const Value *, PHINode *> RealToTemp;
 
+  Value *PhiOfOpsCandidate;
----------------
nikic wrote:

Does this need a `= nullptr` initialization?

https://github.com/llvm/llvm-project/pull/66314


More information about the llvm-commits mailing list