[llvm] [AMDGPU] Let LowerModuleLDS run twice on the same module (PR #81729)

Jon Chesterfield via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 06:20:33 PST 2024


================
@@ -0,0 +1,14 @@
+; RUN: opt -S -mtriple=amdgcn-- -amdgpu-lower-module-lds %s -o %t.ll
+; RUN: opt -S -mtriple=amdgcn-- -amdgpu-lower-module-lds %t.ll -o -
+; RUN: diff -ub %t.ll %t.second.ll -I ".*ModuleID.*"
+
----------------
JonChesterfield wrote:

We probably want two of these tests, one where the symbol has absolute metadata on it and one where it doesn't

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


More information about the llvm-commits mailing list