arsenm closed this revision. arsenm added a comment. r293968. I had to add a special case to stop folding 0s to avoid a quality regression in shader-db which should be extended to other operations though https://reviews.llvm.org/D28792