(Clone Detection) Avoid saving undefined values in registers
(Clone Detection) Avoid saving undefined values in memory
Merge branch 'clone-detection' into working