OSDN Git Service

[X86] Remove unneeded EVT variable. NFC
authorCraig Topper <craig.topper@intel.com>
Sat, 23 Dec 2017 18:53:01 +0000 (18:53 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 23 Dec 2017 18:53:01 +0000 (18:53 +0000)
commit9051f838d214d4c58f2c523aee10846aae38df95
treecf1ca8d32ca8ca84fb755fa392c923a98a432668
parent7794dddf306341dce181bfce41898e1f3fe48af4
[X86] Remove unneeded EVT variable. NFC

Immediately after it is created we check if its equal to another EVT. Then we inconsistently use one or the other variables in the code below.

Instead do the equality check directly on the getValueType result and remove the variable. Use the origina VT variable throughout the remaining code.

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