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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 17:38:22 PDT 2020


efriedma added a comment.

This is correct, strictly speaking, but has the situation with misguided users really improved any?  That same code using _mm_xor_ps() or whatever to zero __m128 variables is probably still out there, and clang still doesn't print any diagnostic by default if you try to do that.  And this still isn't really a useful fold.


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