]> granicus.if.org Git - llvm/commit
[X86] Replace duplicate function call with variable. NFC
authorUriel Korach <uriel.korach@intel.com>
Mon, 6 Nov 2017 08:32:45 +0000 (08:32 +0000)
committerUriel Korach <uriel.korach@intel.com>
Mon, 6 Nov 2017 08:32:45 +0000 (08:32 +0000)
commit16b230fc73d69b6cf921f6506dca7c7f06bf7fa9
tree0facd7f3399bb6406d58b43bb7096c254c61314f
parent807235c9ea1c7104eeafc04e5401f8b1fb5c2313
[X86] Replace duplicate function call with variable. NFC

Change from:
if (N->getOperand(0).getValueType() == MVT::v8i32 ||
    N->getOperand(0).getValueType() == MVT::v8f32)

to:
EVT OpVT = N->getOperand(0).getValueType();
if (OpVT == MVT::v8i32 || OpVT == MVT::v8f32)

Change-Id: I5a105f8710b73a828e6cfcd55fac2eae6153ce25

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317464 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp