[PATCH] D40297: [RegisterCoalescer] Add verification method to check LiveInterval Segments
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 11:45:38 PST 2017
MatzeB added inline comments.
================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:98-101
+static cl::opt<bool>
+VerifyLiveIntervals("verify-live-intervals",
+ cl::desc("Verify LiveIntervals by inspecting all Segments for invalid slot indices"),
+ cl::Hidden);
----------------
Is there anything wrong with the existing `-verify-coalescing` switch that runs the machine verifier after coalescing, shouldn't that catch the same sort of errors?
https://reviews.llvm.org/D40297
More information about the llvm-commits
mailing list