[PATCH] D43915: [NVPTX] Lower loads from global constants using ld.global.nc (aka LDG).

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 15:54:03 PST 2018


tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

Test nit. LGTM otherwise.



================
Comment at: llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll:19
+define <2 x float> @test_gv_float2() {
+  %v = load <2 x float>, <2 x float>* @gv_float2
+  ret <2 x float> %v
----------------
Should there be a `CHECK: ld.global.nc....` here and below? 


https://reviews.llvm.org/D43915





More information about the llvm-commits mailing list