This fixes the patterns that have or/and as a root. 'and' is still broken because lowering keeps a CMP and we match it and the and to TEST. To fix this we'll probably need some custom code in X86ISelDAGToDAG or something. I had to look for uses of the CF flag because all these nodes have non-standard CF flag behavior. A real or/xor would always clear CF. In practice we shouldn't be using the CF flag from these nodes as far as I know.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM