[DAGCombine] Use APInt::operator|(uint64_t) instead of creating a temporary APInt...
authorCraig Topper <craig.topper@gmail.com>
Sun, 5 Mar 2017 01:08:16 +0000 (01:08 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 5 Mar 2017 01:08:16 +0000 (01:08 +0000)
commit6ffc044b2fd12c221f59a7f282570fb94f5eb77b
tree9390ce8ec1846af2bc7f2d5b345e7e1ac4214495
parent66bd85a96a0569b2e9d70ed57242431b82c2a93e
[DAGCombine] Use APInt::operator|(uint64_t) instead of creating a temporary APInt and calling APInt::Or. NFC

This is more efficient by itself. But this is prep for a future patch that may remove APInt::Or while making operator| support rvalue references similar to add/sub.

llvm-svn: 296981
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp