spatel added a comment. I don't have any real-world experience with canonicalize, but this seems fine. What happens with poison? (add a test for that) CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137858/new/ https://reviews.llvm.org/D137858