[PATCH] D131183: AMDGPU/clang: Remove dead code

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 4 10:41:01 PDT 2022


arsenm created this revision.
arsenm added reviewers: yaxunl, sameerds, saiislam, JonChesterfield, RKSimon.
Herald added subscribers: kosarev, t-tye, tpr, dstuttard, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

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


https://reviews.llvm.org/D131183

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/CodeGen/CodeGenFunction.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131183.450057.patch
Type: text/x-patch
Size: 5679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220804/37d91987/attachment.bin>


More information about the cfe-commits mailing list