[all-commits] [llvm/llvm-project] 7d568c: AMDGPU: Register a null MC streamer for -emit-code...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Oct 28 16:39:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d568cdc9d68ec295f1e141c8bcad344873f51cd
      https://github.com/llvm/llvm-project/commit/7d568cdc9d68ec295f1e141c8bcad344873f51cd
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    A clang/test/Misc/backend-resource-limit-diagnostics.hip
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h

  Log Message:
  -----------
  AMDGPU: Register a null MC streamer for -emit-codegen-only

For some reason null is a valid MC target, used from clang with
-emit-codegen-only. Previously the target streamer was null,
which was inconsistently null checked resulting in crashes
if using amdhsa.


  Commit: f041204ec896a24d19f44b9095660ab8559ebbc7
      https://github.com/llvm/llvm-project/commit/f041204ec896a24d19f44b9095660ab8559ebbc7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M llvm/tools/llvm-reduce/deltas/Delta.cpp
    M llvm/tools/llvm-reduce/llvm-reduce.cpp

  Log Message:
  -----------
  llvm-reduce: Stop checking workitem is interesting before each pass

Each delta pass run should have guaranteed the output is still
interesting, so it should be pointless to recheck this each
iteration. I have many issues that take multiple minutes
to reproduce, so this ends up being a huge waste of time.

Also, remove broken line counting. This never worked, since
getLines was failing to open the temporary file which was just
deleted.


Compare: https://github.com/llvm/llvm-project/compare/1c0681757669...f041204ec896


More information about the All-commits mailing list