Chromium Code Reviews
DescriptionSubzero: Make liveness validation errors easier to interpret.
A portion of the translation workflow goes like this:
dump #1
renumber instructions
liveness + live range construction
validateLiveness (exit on failure)
dump #2
If there are liveness validation errors, instruction numbers are reported with respect to the new instruction numbers, yet the most recent dump output is with respect to the old instruction numbers. Confusion ensues.
To fix this, we just do dump #2 before validateLiveness.
BUG= none
R=jpp@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=2943d77ca2b3c2380f34b674960f92264c473360
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|
||||||||||||||||||||||||||||