[PATCH] D29284: [AMDGPU] Lower null pointers in static variable initializer
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 09:27:13 PST 2017
arsenm added a comment.
Better test name might be nullptr-constant-initializer
================
Comment at: test/CodeGen/AMDGPU/nullptr.ll:11
+; CHECK-NEXT: .long -1
+ at nullptr_local = global i32 addrspace(3)* addrspacecast (i32 addrspace(4)* null to i32 addrspace(3)*)
+
----------------
Should include tests for the other address spaces too
https://reviews.llvm.org/D29284
More information about the llvm-commits
mailing list