private void performAutoMerge(TaskMonitor monitor)
			throws MemoryAccessException, CancelledException {

		monitor.setMessage("Merging Code Unit bytes.");
		// merge the bytes.
		mergeMy.mergeBytes(autoBytes.subtract(resultUninitSet), false, monitor);
		mergeManager.updateProgress(70);

		// merge the code units.
		// Note: For instructions, this may change some bytes that were auto-merged.
		totalChanges = 500;
		changeNum = 350;
		monitor.setMessage("Auto merging Code Units...");
		mergeCodeUnits(myPgm, autoCodeUnits, true, monitor);
		mergeManager.updateProgress(90);

		monitor.setMessage("Merging Code Unit equates.");
		mergeMy.mergeEquates(autoCodeUnits, monitor);
		mergeManager.updateProgress(100);
	}
Merges all the current conflicts according to the conflictOption.
@param listingPanel the listing merge panel
@param chosenConflictOption the conflict option to use when merging (should be ASK_USER for interactive).
@param monitor the status monitor
@throws CancelledException if the user cancels
@throws MemoryAccessException if bytes can't be merged.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/CodeUnitMerger.java