[PATCH] D79528: [ConstantFold] Optimize xor undef, undef to undef

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 08:29:49 PDT 2020


lattner added a comment.

I agree, even though this is technically correct, the risk/reward isn't worth it.  LLVM used to do this pervasively, but we switched to producing zero out of practical concerns.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79528/new/

https://reviews.llvm.org/D79528





More information about the llvm-commits mailing list