[llvm] fb639b0 - AMDGPU: Update test
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 13:47:53 PST 2022
Author: Matt Arsenault
Date: 2022-12-14T16:47:25-05:00
New Revision: fb639b0ce0be06748650a0a7c5929980a0adc1ca
URL: https://github.com/llvm/llvm-project/commit/fb639b0ce0be06748650a0a7c5929980a0adc1ca
DIFF: https://github.com/llvm/llvm-project/commit/fb639b0ce0be06748650a0a7c5929980a0adc1ca.diff
LOG: AMDGPU: Update test
Added:
Modified:
llvm/test/CodeGen/AMDGPU/lower-module-lds-used-list.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/lower-module-lds-used-list.ll b/llvm/test/CodeGen/AMDGPU/lower-module-lds-used-list.ll
index 0b233f8f06a1..972a7a286c0b 100644
--- a/llvm/test/CodeGen/AMDGPU/lower-module-lds-used-list.ll
+++ b/llvm/test/CodeGen/AMDGPU/lower-module-lds-used-list.ll
@@ -5,6 +5,13 @@
; CHECK: %llvm.amdgcn.module.lds.t = type { float }
; CHECK: @ignored = addrspace(1) global i64 0
+
+; @ignored still in list, @tolower removed, llvm.amdgcn.module.lds appended
+; Start with one value to replace and one to ignore in the .use list
+
+; @ignored still in list, @tolower removed
+; CHECK: @llvm.used = appending global [1 x i8*] [i8* addrspacecast (i8 addrspace(1)* bitcast (i64 addrspace(1)* @ignored to i8 addrspace(1)*) to i8*)], section "llvm.metadata"
+
; CHECK: @llvm.amdgcn.module.lds = internal addrspace(3) global %llvm.amdgcn.module.lds.t undef, align 8
; CHECK-NOT: @tolower
@@ -15,12 +22,6 @@
@ignored = addrspace(1) global i64 0
-; @ignored still in list, @tolower removed, llvm.amdgcn.module.lds appended
-; Start with one value to replace and one to ignore in the .use list
-
-; @ignored still in list, @tolower removed
-; CHECK: @llvm.used = appending global [1 x i8*] [i8* addrspacecast (i8 addrspace(1)* bitcast (i64 addrspace(1)* @ignored to i8 addrspace(1)*) to i8*)], section "llvm.metadata"
-
@llvm.used = appending global [2 x i8*] [i8* addrspacecast (i8 addrspace(3)* bitcast (float addrspace(3)* @tolower to i8 addrspace(3)*) to i8*), i8* addrspacecast (i8 addrspace(1)* bitcast (i64 addrspace(1)* @ignored to i8 addrspace(1)*) to i8*)], section "llvm.metadata"
; @ignored still in list, @tolower removed, llvm.amdgcn.module.lds appended
More information about the llvm-commits
mailing list