[all-commits] [llvm/llvm-project] 5b17b3: [SVE][CodeGen] Replace use of TypeSize comparison ...

david-arm via All-commits all-commits at lists.llvm.org
Wed Oct 21 00:42:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b17b323a6179d60c58d5048e0679fbbe6782290
      https://github.com/llvm/llvm-project/commit/5b17b323a6179d60c58d5048e0679fbbe6782290
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

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

  Log Message:
  -----------
  [SVE][CodeGen] Replace use of TypeSize comparison operator in CreateStackTemporary

We were previously relying upon the TypeSize comparison operators to
obtain the maximum size of two types, however use of such operators is
being deprecated in favour of making the caller aware that it could
be dealing with scalable vector types. I have changed the code to assert
that the two types have the same scalable property and thus we can
simply take the maximum of the known minimum sizes instead.

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




More information about the All-commits mailing list