[all-commits] [llvm/llvm-project] 800d22: [BasicTTI] Remove unused support for multiple opco...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Jun 13 18:29:16 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 800d222e53dabfe1e242bd06ab70f58c36e768ed
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

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

  Log Message:
  [BasicTTI] Remove unused support for multiple opcodes in getTypeBasedIntrinsicInstrCost [nfc]

ISDs only ever contains a single ISD opcode.  We can simplify the code under this assumption. The code being removed was added back in 2016 in 0f26b0aeb4a91 to support FMAXNAN/FMINNAN, but at some point since then the motivating case was rewritten not to use the ISDs mechanism.  No reason to keep the false generality around now.

More information about the All-commits mailing list