[PATCH] D30928: Templatize parts of VNCoercion, and add constant-only versions of the functions to be used in NewGVN.NFCI.
Daniel Berlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 00:02:02 PDT 2017
dberlin added inline comments.
================
Comment at: lib/Transforms/Utils/VNCoercion.cpp:404
+ return nullptr;
+ return getConstantLoadValueForLoad(SrcVal, Offset, LoadTy, DL);
+}
----------------
This is unused (load-load coercion is not implemented in the dependent patch), but still obviously wrong, i'll fix in a minute.
https://reviews.llvm.org/D30928
More information about the llvm-commits
mailing list