[all-commits] [llvm/llvm-project] 8fbe04: MachineVerifier: Continue reporting errors for copies

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Apr 20 07:55:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fbe04f46b4347331ee9c77c83e38830ee7e9cbc
      https://github.com/llvm/llvm-project/commit/8fbe04f46b4347331ee9c77c83e38830ee7e9cbc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

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

  Log Message:
  -----------
  MachineVerifier: Continue reporting errors for copies

This was skipping verification of later copies, but generally the
verifier tries to report as many things wrong as possible in the
function.


  Commit: 83a25a101051b404bec1a5ba9cb867705f31262d
      https://github.com/llvm/llvm-project/commit/83a25a101051b404bec1a5ba9cb867705f31262d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fptoi.mir

  Log Message:
  -----------
  GlobalISel: Restrict narrow scalar for fptoui/fptosi results

This practically only works for the f16 case AMDGPU uses, not wider
types.

Fixes bug 49710 by failing legalization.


Compare: https://github.com/llvm/llvm-project/compare/daf6e18c55c2...83a25a101051


More information about the All-commits mailing list