[PATCH] D29605: [lanai] Avoid unnecessary AND'ing for brcond.
David Majnemer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 14:22:04 PST 2017
majnemer added a comment.
In https://reviews.llvm.org/D29605#668334, @majnemer wrote:
> Hmm, this is the sort of thing I'd expect SelectionDAG to "just do"... Do other backends achieve the same end by similar means?
I'd expect this logic to zap away such an AND: https://github.com/llvm-mirror/llvm/blob/fb21e4d6fc9ff15b231354be4068c3f732deee02/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L560
https://reviews.llvm.org/D29605
More information about the llvm-commits
mailing list