[all-commits] [llvm/llvm-project] 17e537: [NFC] Use default case in EVT::getEVTString

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Wed Dec 4 03:07:03 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 17e537bc580b3659da1e0d6c536916d96818428d
      https://github.com/llvm/llvm-project/commit/17e537bc580b3659da1e0d6c536916d96818428d
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2019-12-04 (Wed, 04 Dec 2019)

  Changed paths:
    M llvm/lib/CodeGen/ValueTypes.cpp

  Log Message:
  -----------
  [NFC] Use default case in EVT::getEVTString

Summary:
The default case handles the majority of MVTs so most of the individual
cases can be removed. Also added a case for floating point types.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D70955




More information about the All-commits mailing list