[all-commits] [llvm/llvm-project] 3d864c: [LowerTypeTests] Skip declarations when determinin...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Mar 4 08:47:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d864c4682fd28624ece3aa2e413e16bf0e3ef3b
      https://github.com/llvm/llvm-project/commit/3d864c4682fd28624ece3aa2e413e16bf0e3ef3b
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/LowerTypeTests.cpp

  Log Message:
  -----------
  [LowerTypeTests] Skip declarations when determining Thumb support

When looping over all functions in a module to determine whether any of
them is built with support for B.W, we can skip declarations since those
do not have an associated target-feature attribute.
This was found by the assertion from https://github.com/llvm/llvm-project/pull/129600

Reviewed By: statham-arm

Pull Request: https://github.com/llvm/llvm-project/pull/129599



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list