[all-commits] [llvm/llvm-project] 56cd6e: [NFC][TTI] Use switch in getCastInstrCost

Sam Parker via All-commits all-commits at lists.llvm.org
Mon Mar 16 05:52:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 56cd6e356f158c4a38e9f7eac2f23250c2104e93
      https://github.com/llvm/llvm-project/commit/56cd6e356f158c4a38e9f7eac2f23250c2104e93
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h

  Log Message:
  -----------
  [NFC][TTI] Use switch in getCastInstrCost

Introduce a switch statement for trunc, bitcast, addrspacecast and
zext in BasicTTIImpl.




More information about the All-commits mailing list