[all-commits] [llvm/llvm-project] 720015: [x86] avoid build warning for enum mismatch; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Sun Apr 19 07:24:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 720015e53790427872bea37a8ee41ed1cc6e93b5
      https://github.com/llvm/llvm-project/commit/720015e53790427872bea37a8ee41ed1cc6e93b5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-04-19 (Sun, 19 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [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).




More information about the All-commits mailing list