[all-commits] [llvm/llvm-project] 7cd0fd: llvm-reduce: Avoid invalid attribute reduction on ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jan 3 12:58:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cd0fd6f519558fcccf07d7cbf14237f2c5182fe
      https://github.com/llvm/llvm-project/commit/7cd0fd6f519558fcccf07d7cbf14237f2c5182fe
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    A llvm/test/tools/llvm-reduce/reduce-attributes-optnone-noinline.ll
    M llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp

  Log Message:
  -----------
  llvm-reduce: Avoid invalid attribute reduction on optnone functions

We have this ridiculous restriction that optnone requires noinline,
so the pair needs to be removed if we want to remove noinline.


  Commit: d5b7514c3d298058d2509af5e0093519b1a20662
      https://github.com/llvm/llvm-project/commit/d5b7514c3d298058d2509af5e0093519b1a20662
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    A llvm/test/tools/llvm-reduce/remove-attributes-strictfp.ll
    M llvm/tools/llvm-reduce/deltas/ReduceAttributes.cpp

  Log Message:
  -----------
  llvm-reduce: Don't remove strictfp

The verifier should fail if constrained intrinsics are used in
functions with strictfp, but that patch hasn't been pushed yet.

Ideally we would be able to analyze the function body to see if any
constrained intrinsics were used, but we seem to be missing a utility
function to check for any constrained ops.


Compare: https://github.com/llvm/llvm-project/compare/1b969c6b6052...d5b7514c3d29


More information about the All-commits mailing list