[all-commits] [llvm/llvm-project] 5f41ce: [AArch64] NFC: Simplify discombobulating 'requires...

Sander de Smalen via All-commits all-commits at lists.llvm.org
Fri Jan 19 08:15:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f41cef58f72ebe950cc9777a8e29d1d28e543d4
      https://github.com/llvm/llvm-project/commit/5f41cef58f72ebe950cc9777a8e29d1d28e543d4
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp
    M llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
    M llvm/unittests/Target/AArch64/SMEAttributesTest.cpp

  Log Message:
  -----------
  [AArch64] NFC: Simplify discombobulating 'requiresSMChange' interface (#78703)

Having it return a `std::optional<bool>` is unnecessarily confusing.
This patch changes it to a simple 'bool'.

This patch also removes the 'BodyOverridesInterface' operand because
there is only a single use for this which is easily rewritten.




More information about the All-commits mailing list