[llvm] [AMDGPU] Add a regression test for -mattr=dumpcode (PR #116982)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 03:03:25 PST 2025


================
@@ -0,0 +1,30 @@
+; RUN: llc -mtriple=amdgcn -mcpu=gfx1010 -mattr=dumpcode -filetype=obj < %s | llvm-objcopy --dump-section .AMDGPU.disasm=- - /dev/null | FileCheck %s -check-prefix=GFX10
----------------
jayfoad wrote:

No, it's optional and defaults to `+`.

https://github.com/llvm/llvm-project/pull/116982


More information about the llvm-commits mailing list