OSDN Git Service

X86: hoist a condition into a variable (NFC)
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 12 Aug 2015 02:01:36 +0000 (02:01 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 12 Aug 2015 02:01:36 +0000 (02:01 +0000)
commit4ca3d348e222c26ae9e03095658a950ad77bf939
tree47854a1defb7578ddd25593b2c62d0721aae4cbc
parent234cfada1839319ca5dd95658611605e3e4fab4d
X86: hoist a condition into a variable (NFC)

The same value is used multiple times through the function.  Hoist the condition
into a variable.  This should fix a silly static analysis warning where the
conditions flip around.  No functional change intended.

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