[all-commits] [llvm/llvm-project] c5b36a: AMDGPU/clang: Remove dead code

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Aug 4 16:03:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5b36ab1d6a667554bf369c34e51d02add039d16
      https://github.com/llvm/llvm-project/commit/c5b36ab1d6a667554bf369c34e51d02add039d16
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-08-04 (Thu, 04 Aug 2022)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.h

  Log Message:
  -----------
  AMDGPU/clang: Remove dead code

The order has to be a constant and should be enforced by the builtin
definition. The fallthrough behavior would have been broken anyway.

There's still an existing issue/assert if you try to use garbage for the
ordering. The IRGen should be broken, but we also hit another assert
before that.

Fixes issue 56832




More information about the All-commits mailing list