]> granicus.if.org Git - llvm/commit
Fix an enumeral mismatch warning.
authorHaojian Wu <hokein@google.com>
Mon, 13 Jun 2016 09:03:45 +0000 (09:03 +0000)
committerHaojian Wu <hokein@google.com>
Mon, 13 Jun 2016 09:03:45 +0000 (09:03 +0000)
commit2bc15c9efd70eb8818ac2d760dd96bac647759b5
tree4d0f709c00811989c66f1acdd17d756641007cbe
parent28712da449910bb7e79d2c43b66d5b025f9665bd
Fix an enumeral mismatch warning.

Summary:
The "-Werror=enum-compare" shows that the statement is using two different enums:

enumeral mismatch in conditional expression: 'llvm::X86ISD::NodeType' vs 'llvm::ISD::NodeType'

A follow-up fix on D21235.

Reviewers: klimek

Subscribers: spatel, cfe-commits

Differential Revision: http://reviews.llvm.org/D21278

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