[all-commits] [llvm/llvm-project] 1ea429: [NFC] Remove from UnivariateLinearPolyBase::getVal...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Thu Nov 4 07:39:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ea4296208e61b1bd4e8a91bee9b5f56a0cfd526
      https://github.com/llvm/llvm-project/commit/1ea4296208e61b1bd4e8a91bee9b5f56a0cfd526
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/unittests/Support/LinearPolyBaseTest.cpp

  Log Message:
  -----------
  [NFC] Remove from UnivariateLinearPolyBase::getValue().

This interface should not have existed in the first place, let alone
be a public member.

It allows calling `ElementCount::get(..)->getValue()`, which is ambiguous.
The interfaces to be used are either getFixedValue() or getKnownMinValue().




More information about the All-commits mailing list