[x86] avoid build warning for enum mismatch; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 19 Apr 2020 14:19:37 +0000 (10:19 -0400)
committerSanjay Patel <spatel@rotateright.com>
Sun, 19 Apr 2020 14:22:11 +0000 (10:22 -0400)
commit720015e53790427872bea37a8ee41ed1cc6e93b5
tree4e1ec047c01d582eabeb25157d3361dfdf812cc3
parente01ae1506630f31ab9f5eea9c0efd6323ef62fff
[x86] avoid build warning for enum mismatch; NFC

gcc may warn here because X86ISD::NodeType is specified as "unsigned",
but ISD::NodeType is a naked C enum (although passed as an "unsigned"
throughout SDAG).
llvm/lib/Target/X86/X86ISelLowering.cpp