OSDN Git Service

[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)
commit1ecf0813db3b6e9a13d05fa891023ffef6b3abf9
tree959a80159907373b02681374902b664cb1400184
parentecd4d5328147dad0d399f3f88868be33adee2d69
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296981 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp