[all-commits] [llvm/llvm-project] 8e707f: [Flang][Lower] NFC: Update target-features/target-...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Feb 8 04:33:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e707f8444692762b35fde3e94bbcb02686272a5
      https://github.com/llvm/llvm-project/commit/8e707f8444692762b35fde3e94bbcb02686272a5
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

  Changed paths:
    M flang/test/Lower/target-features-amdgcn.f90
    M flang/test/Lower/target-features-x86_64.f90

  Log Message:
  -----------
  [Flang][Lower] NFC: Update target-features/target-cpu tests (#80984)

Previously, some of these lowering tests inadvertently relied on a
default triple not introducing any target features. This caused failures
when compiling on a ppc64le-linux-unknown-gnu system.

This patch updates these lowering tests to always explicitly set the
target triple and check that the -target-cpu and -target-features
compiler options are processed as expected.




More information about the All-commits mailing list