This patch makes ConstantFold optimize xor undef, undef to undef , which was mentioned at D79452.
Correctness of the transformation: http://volta.cs.utah.edu:8080/z/GAs5QJ
Checked that it did not miscompile testsuite & SPECCPU 2017 . The used testsuite commit was 44dad74558616adcdf54a289db4466c7ab7d2563
because more recent testsuite raised https://bugs.llvm.org/show_bug.cgi?id=45818 (with & without this change).
clang-format not found in user's PATH; not linting file.