[llvm] [AMDGPU] Avoid hitting AMDGPUAsmPrinter related asserts for local functions at O0 (PR #72129)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 17:23:30 PST 2023


================
@@ -0,0 +1,11 @@
+; RUN: llc -O0 -march=amdgcn < %s | FileCheck %s
+
----------------
arsenm wrote:

Also should have some tests for functions which are not dead, but forced alive with some form of address capture. We need to verify we produce sensible resource results in those cases 

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


More information about the llvm-commits mailing list