[PATCH] D26359: Don't assert on missing value from predecessor
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 08:28:39 PST 2016
kparzysz added a comment.
Ping.
================
Comment at: lib/CodeGen/LiveIntervalAnalysis.cpp:394
+ assert(PVNI == VNI && "Wrong value out of predecessor");
+ WorkList.push_back(std::make_pair(Stop, VNI));
+ }
----------------
This should be `make_pair(Stop, PVNI)` to avoid warnings about unused variable in non-assert builds.
Repository:
rL LLVM
https://reviews.llvm.org/D26359
More information about the llvm-commits
mailing list