[PATCH] D113861: [InstSimplify] Fold A|B | (A^B) --> A|B
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 10:20:29 PST 2021
rampitec added inline comments.
================
Comment at: llvm/test/Transforms/InstSimplify/or.ll:456
;
%i1 = or i69 %A, %B
%i2 = xor i69 %A, %B
----------------
I think you need 2 more tests with commuted 'or' operands to cover 2 m_c_Or patterns.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113861/new/
https://reviews.llvm.org/D113861
More information about the llvm-commits
mailing list